betterplace-content 0.3.6 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6c2ea740d2f76cf07d99f9b48c1b1b8f4c7e2e0
4
- data.tar.gz: ace8eed5983f8c88c5c8c443e00f1b2e7e2c3345
3
+ metadata.gz: 859cf1d5a2495f513b13286091ea515324add489
4
+ data.tar.gz: a27a9d89cc0dfe8dd816110751efc07c1827d2e6
5
5
  SHA512:
6
- metadata.gz: e742b262ff5260eb8ac16eb7f55df1292c0c66e11f331cbf0fd8e6d3ff50f907659db318a0cfe28d79a4e814a4f6224d500472d8d777d4b56e22d41efc2faf01
7
- data.tar.gz: e271fe715e810ec3908423a085e1295d8e7e852dc91c93a44ad330d4108044c0c2aaa62f2f0891551c6ec77c42c34dd16fd23dbffe1649e0da3a0116722f0001
6
+ metadata.gz: de955bc9b83bb51d07aa393c11706761a8e2fee16a151e7cbc370ccebccafaace3b595916df5b354a33e6fa1bdcf1044503e8616f97e1240775c6140510aa287
7
+ data.tar.gz: 1b417f051a577e142b3adb1065d85733b7a5360312e664c29c1723f2120b67705aa7f95c33b1a09072185b96d2cbc7171528fbd229f66449a36df7dfdf456d84
@@ -48,7 +48,6 @@ ga('set', 'dimension5', '{{ site.baseurl }}{{ page.url }}');
48
48
 
49
49
  ga('require', 'linkid');
50
50
  ga('require', 'displayfeatures');
51
- ga('require', 'maxScrollTracker'); // requires ga-autotrack.js
52
51
  ga('require', 'outboundLinkTracker'); // requires ga-autotrack.js
53
52
  // ga('require', 'GTM-WK6QJ9P');
54
53
 
@@ -1,15 +1,15 @@
1
- <meta name="description" content="{{ page.sharing.description }}"/>
1
+ <meta name="description" content="{{ page.sharing_description }}"/>
2
2
 
3
3
  <meta property="og:locale" content="{{ site.lang_country }}"/>
4
- <meta property="og:site_name" content="{{ site.sharing.site_name }}"/>
5
- <meta property="og:title" content="{{ page.sharing.title || page.page_title }}"/>
6
- <!-- <meta property="og:url" content="https://www.betterplace.org/{{ site.baseurl }}{{ page.url }}"/> -->
4
+ <meta property="og:site_name" content="{{ site.sharing_site_name }}"/>
5
+ <meta property="og:title" content="{{ page.sharing_title || page.page_title }}"/>
6
+ <!-- <meta property="og:url" content="https://www.betterplace.org{{ site.baseurl }}{{ page.url }}"/> -->
7
7
  <meta property="og:type" content="article"/>
8
- <meta property="og:description" content="{{ page.sharing.description }}"/>
9
- {% if page.sharing.image.url %}
10
- <meta property="og:image" content="{{ page.sharing.image.url }}"/>
11
- <meta property="og:image:width" content="{{ page.sharing.image.width }}"/>
12
- <meta property="og:image:height" content="{{ page.sharing.image.heigh }}"/>
8
+ <meta property="og:description" content="{{ page.sharing_description }}"/>
9
+ {% if page.sharing_image_url %}
10
+ <meta property="og:image" content="{{ page.sharing_image_url }}"/>
11
+ <meta property="og:image:width" content="{{ page.sharing_image_width }}"/>
12
+ <meta property="og:image:height" content="{{ page.sharing_image_height }}"/>
13
13
  {% else %}
14
14
  <meta property="og:image" content="https://www.betterplace.org{{ site.baseurl }}/assets/theme_images/og-image-v2.png"/>
15
15
  <meta property="og:image:width" content="1200"/>
@@ -19,10 +19,10 @@
19
19
  <meta property="fb:app_id" content="129531047123577"/>
20
20
  <meta property="fb:pages" content="92443445717" />
21
21
 
22
- <meta name="twitter:title" content="{{ page.sharing.title || page.page_title }}"/>
23
- <!-- <meta name="twitter:url" content="https://www.betterplace.org/{{ site.baseurl }}{{ page.url }}"/> -->
24
- {% if page.sharing.image.url %}
25
- <meta name="twitter:image" content="{{ page.sharing.image.url }}"/>
22
+ <meta name="twitter:title" content="{{ page.sharing_title || page.page_title }}"/>
23
+ <!-- <meta name="twitter:url" content="https://www.betterplace.org{{ site.baseurl }}{{ page.url }}"/> -->
24
+ {% if page.sharing_image_url %}
25
+ <meta name="twitter:image" content="{{ page.sharing_image_url }}"/>
26
26
  {% else %}
27
27
  <meta name="twitter:image" content="https://www.betterplace.org{{ site.baseurl }}/assets/theme_images/og-image-v2.png"/>
28
28
  {% endif %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: betterplace-content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - betterplace.org Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-17 00:00:00.000000000 Z
11
+ date: 2018-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll