benjeto-jekyll-theme 0.0.7 → 0.0.8

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: ffe247dfe7d48981f04fefb4a4520e45a3ad427772fd1c825ef1488373c6e3ae
4
- data.tar.gz: d05b62c226856c32535da1c0a2e9bb5e4f645b026b7342c4909cdb3cd7899aca
3
+ metadata.gz: 556179d6d678d50b1237c7225d8a14928d466fa8e5dcabdc41fb0d06c842fddd
4
+ data.tar.gz: 592b6a80fde78d0ddecce0b100ed14e313c4dadfef708dc30fa2278a637b2287
5
5
  SHA512:
6
- metadata.gz: 654f29aaff3a7c5a28db988fe29cfe6e85b5bac3ffe3253134e1982227ef6166325e53cbfc20e887cc1a1be89d4a3b17154459aa9c9549c13623fd963d849dee
7
- data.tar.gz: 02b8704f6966db940896c17aacd894e9f96fc0c9dd84c9f77b7f40f5880f796002013521e7a499f7592a75f075d7ab7964c226c5208a14b6a138b2768528f9df
6
+ metadata.gz: 5387273550a837ac10915f3d3af89392390ee8ce8649d831e9c82737eaf562a16a54afa67d45b1be5e2184ad6b60d31046307b4ca1c69021e1fdaf3d0122689a
7
+ data.tar.gz: 765b5cf134418ce8f52e9d3e1a3b7c564ce9fb06fd2fab4a2b16e96d5143f1f827b1af64f9aeadb01a497bfacaf3f05238890d660149d74406a7d9999af9676f
data/_includes/head.html CHANGED
@@ -92,12 +92,12 @@
92
92
  {% if site.default_lang != "nil" -%}
93
93
  <link rel="alternate" hreflang="{{ site.default_lang }}" href="{{ site.url }}{{ page.permalink }}">
94
94
  {% endif -%}
95
- {% for lang in site.languages %}
96
- {% if lang == site.default_lang %}
97
- {% continue %}
98
- {% endif %}
95
+ {% for lang in site.languages -%}
96
+ {% if lang == site.default_lang -%}
97
+ {% continue -%}
98
+ {% endif -%}
99
99
  <link rel="alternate" hreflang="{{ lang }}" href="{{ site.url }}/{{ lang }}{{ page.permalink }}">
100
- {% endfor %}
100
+ {% endfor -%}
101
101
  {% endif -%}
102
102
 
103
103
  {% include custom_head.html %}
data/assets/js/share.js CHANGED
@@ -9,7 +9,7 @@ document.addEventListener('DOMContentLoaded', function () {
9
9
  "{{ lang }}" : "{{ site.data[lang].texts.share }}",
10
10
  {%- endif %}
11
11
  {%- endfor %}
12
- {{ site.default_lang }}: "{{ site.data.texts.share }}"
12
+ "{{ site.default_lang }}" : "{{ site.data.texts.share }}"
13
13
  };
14
14
  var copiedText = {
15
15
  {%- for lang in site.languages %}
@@ -17,7 +17,7 @@ document.addEventListener('DOMContentLoaded', function () {
17
17
  "{{ lang }}" : "{{ site.data[lang].texts.copied }}",
18
18
  {%- endif %}
19
19
  {%- endfor %}
20
- {{ site.default_lang }}: "{{ site.data.texts.copied }}"
20
+ "{{ site.default_lang }}" : "{{ site.data.texts.copied }}"
21
21
  };
22
22
  {%- endif %}
23
23
  const shareButtons = document.querySelectorAll('.shareBtn');
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: benjeto-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cizzuk