govuk_template 0.23.2 → 0.23.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c127da367af151b83b2595a6bc379ea2e0babb48ba259365796f4b4904e6ccc6
4
- data.tar.gz: e9ab193ff2b2b10705f4383041d7e7e46fe934ace523c73ee0ac33f4745208d6
3
+ metadata.gz: 48079f97445f1dc8245850e91804a0199c938645d3344022d842a3fde8e10d1b
4
+ data.tar.gz: bb1f62321c4509235d825b5e640b8a52553aa303c14ac0fa4d27985814ffaab8
5
5
  SHA512:
6
- metadata.gz: 4bc7e5bd418b38cd149b1208b70243c3e0ccbb4309aedf3086636561d55de2c01576acb3dea0eb9a21590c581883fa649c5493bda045a2bbb3f414761409379a
7
- data.tar.gz: 899851443bfe346bcf923a13f95c793b54b69d41dc0472ef514d2b2fafb05caea1f55cef1d3345cecd7528ebf9c67b92c67e32a3119960f69cd47b602516cfaa
6
+ metadata.gz: ac748469258d09883d527e29c024a53ab20fc0df5cf5c8454859758e6dfb6f520fe0c2d754573abe6db931f90bb753b86f87f73670f712dba7fb558aa2f76fc5
7
+ data.tar.gz: 45020a33247af530e575522f5ad59aa6f7b885d273ae6319320a1515c774352c2a7ed157dca71cee609a040ab6c2950eadc45f38606476546940dbac0fb23fff
@@ -30,9 +30,11 @@
30
30
  <meta name="theme-color" content="#0b0c0c" />
31
31
 
32
32
  <meta name="viewport" content="width=device-width, initial-scale=1">
33
- <meta property="og:image" content="<%= asset_path "opengraph-image.png" %>">
34
33
 
35
34
  <%= yield :head %>
35
+
36
+ <%# The default og:image is added below :head so that scrapers see any custom metatags first, and this is just a fallback %>
37
+ <meta property="og:image" content="<%= asset_path "opengraph-image.png" %>">
36
38
  </head>
37
39
 
38
40
  <body<%= content_for?(:body_classes) ? raw(" class=\"#{yield(:body_classes)}\"") : '' %>>
@@ -1,3 +1,3 @@
1
1
  module GovukTemplate
2
- VERSION = "0.23.2"
2
+ VERSION = "0.23.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.2
4
+ version: 0.23.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Tomlins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-17 00:00:00.000000000 Z
11
+ date: 2018-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails