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 +4 -4
- data/_includes/head.html +5 -5
- data/assets/js/share.js +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 556179d6d678d50b1237c7225d8a14928d466fa8e5dcabdc41fb0d06c842fddd
|
4
|
+
data.tar.gz: 592b6a80fde78d0ddecce0b100ed14e313c4dadfef708dc30fa2278a637b2287
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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');
|