betterplace-content 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/header-de.html +5 -2
- data/_includes/header-en.html +5 -2
- data/_includes/sharing.html +13 -4
- data/_layouts/post.html +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f9c5c61c3a7b8c641441ab9eb218dab1bb82e7f
|
4
|
+
data.tar.gz: 29dab422df60664a58efea97c1a8d0ffbe3fd89a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce8c24800990a306998aede1ab0659b68307c2cf589d34c13e7c21db069890027d4ce95a9f2e237553d2140e64482f97517cee5b81ea8970fc386eb3b73145dd
|
7
|
+
data.tar.gz: 1bd77e55a15dc7b6f6a4cec9cede42e6dc5a6ba46a556cf601c79131e01065dfafbd736f68b9d61a41d577962b3334f4665dbe15c0e0a6b494774133d4c641ee
|
data/_includes/header-de.html
CHANGED
@@ -29,8 +29,11 @@
|
|
29
29
|
{% endcomment %}
|
30
30
|
<li class="secondary">
|
31
31
|
{% if page.translation_path %}
|
32
|
-
|
33
|
-
<a
|
32
|
+
{% clean_translation_path = page.translation_path | prepend:'/c/' | replace:'//','/' %}
|
33
|
+
<a onclick="ga('send', 'event', 'navigation header', '{{ clean_translation_path }}');" href="{{ clean_translation_path }}">English</a>
|
34
|
+
{% else %}
|
35
|
+
<a class="disabled">English</a>
|
36
|
+
{% endif %}
|
34
37
|
</li>
|
35
38
|
<li class="secondary search">
|
36
39
|
<a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/search');" href="/{{ site.lang }}/search">
|
data/_includes/header-en.html
CHANGED
@@ -29,8 +29,11 @@
|
|
29
29
|
{% endcomment %}
|
30
30
|
<li class="secondary">
|
31
31
|
{% if page.translation_path %}
|
32
|
-
|
33
|
-
<a
|
32
|
+
{% clean_translation_path = page.translation_path | prepend:'/c/' | replace:'//','/' %}
|
33
|
+
<a onclick="ga('send', 'event', 'navigation header', '{{ clean_translation_path }}');" href="{{ clean_translation_path }}">Deutsch</a>
|
34
|
+
{% else %}
|
35
|
+
<a class="disabled">Deutsch</a>
|
36
|
+
{% endif %}
|
34
37
|
</li>
|
35
38
|
<li class="secondary search">
|
36
39
|
<a onclick="ga('send', 'event', 'navigation header', '/{{ site.lang }}/search');" href="/{{ site.lang }}/search">
|
data/_includes/sharing.html
CHANGED
@@ -2,20 +2,29 @@
|
|
2
2
|
|
3
3
|
<meta property="og:locale" content="{{ site.lang_country }}"/>
|
4
4
|
<meta property="og:site_name" content="{{ site.sharing.site_name }}"/>
|
5
|
-
<meta property="og:title" content="{{ page.sharing.title }}"/>
|
5
|
+
<meta property="og:title" content="{{ page.sharing.title || page.page_title }}"/>
|
6
6
|
<!-- <meta property="og:url" content="https://www.betterplace.org/c/ueber-uns/"/> -->
|
7
7
|
<meta property="og:type" content="blog"/>
|
8
8
|
<meta property="og:description" content="{{ page.sharing.description }}"/>
|
9
|
+
{% if page.sharing.image.url %}
|
9
10
|
<meta property="og:image" content="{{ page.sharing.image.url }}"/>
|
10
11
|
<meta property="og:image:width" content="{{ page.sharing.image.width }}"/>
|
11
12
|
<meta property="og:image:height" content="{{ page.sharing.image.heigh }}"/>
|
13
|
+
{% else %}
|
14
|
+
<meta property="og:image" content="https://www.betterplace.org{{ site.baseurl }}/assets/theme_images/og-image-v2.png"/>
|
15
|
+
<meta property="og:image:width" content="1200"/>
|
16
|
+
<meta property="og:image:height" content="630"/>
|
17
|
+
{% endif %}
|
12
18
|
<meta property="article:publisher" content="https://www.facebook.com/betterplace.org"/>
|
13
19
|
<meta property="fb:app_id" content="129531047123577"/>
|
20
|
+
<meta property="fb:pages" content="92443445717" />
|
14
21
|
|
15
|
-
<meta name="twitter:title" content="{{ page.sharing.title }}"/>
|
22
|
+
<meta name="twitter:title" content="{{ page.sharing.title || page.page_title }}"/>
|
16
23
|
<!-- <meta name="twitter:url" content="https://www.betterplace.org/c/ueber-uns/"/> -->
|
24
|
+
{% if page.sharing.image.url %}
|
17
25
|
<meta name="twitter:image" content="{{ page.sharing.image.url }}"/>
|
26
|
+
{% else %}
|
27
|
+
<meta name="twitter:image" content="https://www.betterplace.org{{ site.baseurl }}/assets/theme_images/og-image-v2.png"/>
|
28
|
+
{% endif %}
|
18
29
|
<meta name="twitter:card" content="summary_large_image"/>
|
19
30
|
<meta name="twitter:site" content="@betterplace_org"/>
|
20
|
-
|
21
|
-
<meta property="fb:pages" content="92443445717" />
|
data/_layouts/post.html
CHANGED