betterplace-content 0.1.15 → 0.1.16

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: 5f9c5c61c3a7b8c641441ab9eb218dab1bb82e7f
4
- data.tar.gz: 29dab422df60664a58efea97c1a8d0ffbe3fd89a
3
+ metadata.gz: c0d060fb7d99cea137dbd4ac45cbe1bb06da1748
4
+ data.tar.gz: ad6e489c8f3aba4bd251069442103bc55ea8f8b3
5
5
  SHA512:
6
- metadata.gz: ce8c24800990a306998aede1ab0659b68307c2cf589d34c13e7c21db069890027d4ce95a9f2e237553d2140e64482f97517cee5b81ea8970fc386eb3b73145dd
7
- data.tar.gz: 1bd77e55a15dc7b6f6a4cec9cede42e6dc5a6ba46a556cf601c79131e01065dfafbd736f68b9d61a41d577962b3334f4665dbe15c0e0a6b494774133d4c641ee
6
+ metadata.gz: 1e33bc0a9f8beb3ff054bfada3f21d4025dc3efbbda885bc7a5881970cddae9edad8f12ded242ab69a6cac8a11ca703fb3955a0de12786a5ab1c6edb2697ab58
7
+ data.tar.gz: 0c8a7cd5626c8f3e941e9040f08fe04b4adfce8f942ffe10ad2690bd5d79dc0232aafae37c1b78470ed865c2f5648ecb761ad6cbcf44979ec60addc952b26ca1
@@ -29,7 +29,7 @@
29
29
  {% endcomment %}
30
30
  <li class="secondary">
31
31
  {% if page.translation_path %}
32
- {% clean_translation_path = page.translation_path | prepend:'/c/' | replace:'//','/' %}
32
+ {% assign clean_translation_path = page.translation_path | prepend:'/c/' | replace:'//','/' %}
33
33
  <a onclick="ga('send', 'event', 'navigation header', '{{ clean_translation_path }}');" href="{{ clean_translation_path }}">English</a>
34
34
  {% else %}
35
35
  <a class="disabled">English</a>
@@ -29,7 +29,7 @@
29
29
  {% endcomment %}
30
30
  <li class="secondary">
31
31
  {% if page.translation_path %}
32
- {% clean_translation_path = page.translation_path | prepend:'/c/' | replace:'//','/' %}
32
+ {% assign clean_translation_path = page.translation_path | prepend:'/c/' | replace:'//','/' %}
33
33
  <a onclick="ga('send', 'event', 'navigation header', '{{ clean_translation_path }}');" href="{{ clean_translation_path }}">Deutsch</a>
34
34
  {% else %}
35
35
  <a class="disabled">Deutsch</a>
@@ -11,7 +11,8 @@
11
11
  {% endif %}
12
12
 
13
13
  {% if page.translation_path %}
14
- <link rel="alternate" hreflang="{{ site.translation_lang | replace:'_','-' }}" href="https://www.betterplace.org/c{{ page.translation_path }}/">
14
+ {% assign clean_translation_path = page.translation_path | prepend:'https://www.betterplace.org/c/' | replace:'//','/' %}
15
+ <link rel="alternate" hreflang="{{ site.translation_lang | replace:'_','-' }}" href="{{ clean_translation_path }}">
15
16
  {% endif %}
16
17
 
17
18
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.min.js" integrity="sha256-spTpc4lvj4dOkKjrGokIrHkJgNA0xMS98Pw9N7ir9oI=" crossorigin="anonymous"></script>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: betterplace-content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - betterplace developers