word-games-theme 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/alternates/alternates.html +15 -80
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f40521380e2923e8a76d0c64e5417636ee448101464a27868d4807e9cd799c0e
|
4
|
+
data.tar.gz: 455cf14f652bb54c3a8abcd6ed80d1a75bb97b41a597626c0e5aefde131be65b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73e0302e480ead7ec1b2b83d5ccb14d454d5d258459ddb14aa7cedcee456b1c77cd70393fdbe9fb2dc6d17c91c80bd07f9cf9da15de15357f3f89bcfa78eb68c
|
7
|
+
data.tar.gz: 61db39d28f6bff1552210757d60f0e4b9af98bdee63547412093afe3feca332271d033fb437e8c3d12af8c769c60ac5ce3db99552341383f1704f0dcbcecfaa8
|
@@ -5,89 +5,28 @@
|
|
5
5
|
{%- for checklang in site.pages -%}
|
6
6
|
{%- if checklang.permalink == i -%}
|
7
7
|
{%- assign languagetext = [i] -%}
|
8
|
-
|
9
|
-
|
10
|
-
{% assign whitelist_urls = site.data.noindexURLs.internatlionalization_whitelist_urls %}
|
11
|
-
{% assign noindex_languages = site.data.noindexURLs.noindex_languages %}
|
12
|
-
{% if noindex_languages contains languagetext[0] %}
|
13
|
-
{%- if whitelist_urls -%}
|
14
|
-
{% for url in whitelist_urls %}
|
15
|
-
{% assign current_url = url | remove_first: '/' | strip %}
|
16
|
-
{% assign language_url = languagetext[0] | strip %}
|
17
|
-
{% if current_url == language_url %}
|
18
|
-
{%- assign exclude_url = true -%}
|
19
|
-
{% endif %}
|
20
|
-
{% endfor %}
|
21
|
-
{%- if exclude_url -%}
|
22
|
-
<link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
|
23
|
-
{%- endif -%}
|
24
|
-
{%- endif -%}
|
25
|
-
{%- else -%}
|
26
8
|
<link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
|
27
|
-
{%- endif -%}
|
28
|
-
|
29
|
-
|
30
9
|
{%- endif -%}
|
31
10
|
{%- endfor -%}
|
32
|
-
|
33
11
|
{%- endfor -%}
|
34
12
|
{%- else -%}
|
35
|
-
|
36
13
|
{%- if matchurls contains page.permalink -%}
|
37
14
|
{%- assign languagetext = [i] -%}
|
38
15
|
<link data-rh="true" rel="alternate" href="{{site.url}}" hreflang="en" />
|
39
16
|
{%- for i in matchurls -%}
|
40
17
|
{%- assign languagetext = [i] -%}
|
41
18
|
{%- if i== page.permalink -%}
|
42
|
-
|
43
|
-
{% assign whitelist_urls = site.data.noindexURLs.internatlionalization_whitelist_urls %}
|
44
|
-
{% assign noindex_languages = site.data.noindexURLs.noindex_languages %}
|
45
|
-
{% if noindex_languages contains languagetext[0] %}
|
46
|
-
{%- if whitelist_urls -%}
|
47
|
-
{% for url in whitelist_urls %}
|
48
|
-
{% assign current_url = url | remove_first: '/' | strip %}
|
49
|
-
{% assign language_url = languagetext[0] | strip %}
|
50
|
-
{% if current_url == language_url %}
|
51
|
-
{%- assign exclude_url = true -%}
|
52
|
-
{% endif %}
|
53
|
-
{% endfor %}
|
54
|
-
{%- if exclude_url -%}
|
55
19
|
<link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
|
56
|
-
{%- endif -%}
|
57
|
-
{%- endif -%}
|
58
20
|
{%- else -%}
|
59
|
-
<link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
|
60
|
-
{%- endif -%}
|
61
|
-
|
62
|
-
|
63
|
-
{%- else -%}
|
64
|
-
|
65
21
|
{%- for checklang in site.pages -%}
|
66
22
|
{%- if checklang.permalink == i -%}
|
67
23
|
{%- assign languagetext = [i] -%}
|
68
|
-
|
69
|
-
{% assign noindex_languages = site.data.noindexURLs.noindex_languages %}
|
70
|
-
{% if noindex_languages contains languagetext[0] %}
|
71
|
-
{%- if whitelist_urls -%}
|
72
|
-
{% for url in whitelist_urls %}
|
73
|
-
{% assign current_url = url | remove_first: '/' | strip %}
|
74
|
-
{% assign language_url = languagetext[0] | strip %}
|
75
|
-
{% if current_url == language_url %}
|
76
|
-
{%- assign exclude_url = true -%}
|
77
|
-
{% endif %}
|
78
|
-
{%- if exclude_url -%}
|
79
24
|
<link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
|
80
|
-
{%- endif -%}
|
81
|
-
{% endfor %}
|
82
|
-
{%- endif -%}
|
83
|
-
{%- else -%}
|
84
|
-
<link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
|
85
|
-
{%- endif -%}
|
86
|
-
|
87
25
|
{%- endif -%}
|
88
26
|
{%- endfor -%}
|
89
27
|
{%- endif -%}
|
90
28
|
{%- endfor -%}
|
29
|
+
|
91
30
|
{%- else -%}
|
92
31
|
|
93
32
|
{%- for item in site.pages -%}
|
@@ -95,32 +34,30 @@
|
|
95
34
|
{%- assign pagelink = page.permalink | split: "/" | last-%}
|
96
35
|
{%- assign itemlink = item.permalink | split: "/" | last-%}
|
97
36
|
|
98
|
-
|
99
|
-
{%
|
100
|
-
{%
|
101
|
-
{
|
37
|
+
|
38
|
+
{% if pagelink == itemlink and page.lang != item.lang and page.permalink != item.permalink %}
|
39
|
+
{% assign whitelist_urls = site.data.noindexURLs.internatlionalization_whitelist_urls %}
|
40
|
+
{% if whitelist_urls %}
|
41
|
+
{% assign exclude_url = false %}
|
102
42
|
{% for url in whitelist_urls %}
|
103
43
|
{% assign current_url = url | strip %}
|
104
44
|
{% if current_url == item.permalink %}
|
105
|
-
{
|
45
|
+
{% assign exclude_url = true %}
|
106
46
|
{% endif %}
|
107
47
|
{% endfor %}
|
108
|
-
{
|
109
|
-
<link data-rh="true" rel="alternate" href="{{site.url}}{{item.permalink}}" hreflang="{{languagetext[0]}}" />
|
110
|
-
{
|
111
|
-
{
|
112
|
-
{
|
113
|
-
<link data-rh="true" rel="alternate" href="{{site.url}}{{item.permalink}}" hreflang="{{languagetext[0]}}" />
|
114
|
-
{%- endif -%}
|
115
|
-
{%- endif -%}
|
48
|
+
{% if exclude_url %}
|
49
|
+
<link data-rh="true" rel="alternate" href="{{ site.url }}{{ item.permalink }}" hreflang="{{ languagetext[0] }}" />
|
50
|
+
{% endif %}
|
51
|
+
{% endif %}
|
52
|
+
{% endif %}
|
116
53
|
|
117
54
|
|
118
55
|
{%- if pagelink == itemlink and page.lang == item.lang -%}
|
119
|
-
|
120
56
|
{% assign whitelist_urls = site.data.noindexURLs.internatlionalization_whitelist_urls %}
|
121
57
|
{% assign noindex_languages = site.data.noindexURLs.noindex_languages %}
|
122
58
|
{% if noindex_languages contains languagetext[0] %}
|
123
59
|
{%- if whitelist_urls -%}
|
60
|
+
{% assign exclude_url = false %}
|
124
61
|
{% for url in whitelist_urls %}
|
125
62
|
{% assign current_url = url | strip %}
|
126
63
|
{% if current_url == item.permalink %}
|
@@ -131,16 +68,15 @@
|
|
131
68
|
<link data-rh="true" rel="alternate" href="{{site.url}}{{item.permalink}}" hreflang="{{languagetext[0]}}" />
|
132
69
|
{%- endif -%}
|
133
70
|
{%- endif -%}
|
71
|
+
|
134
72
|
{%- else -%}
|
135
73
|
|
136
74
|
|
137
75
|
{% assign final_permalink = item.permalink %}
|
138
76
|
{% if item.permalink contains '/' %}
|
139
77
|
{% else %}
|
140
|
-
|
78
|
+
{% assign final_permalink = '/' | append: item.permalink %}
|
141
79
|
{% endif %}
|
142
|
-
|
143
|
-
|
144
80
|
{% assign blacklist_urls = site.data.noindexURLs.blacklist_urls %}
|
145
81
|
{%- if blacklist_urls contains final_permalink -%}
|
146
82
|
{%- else -%}
|
@@ -150,7 +86,6 @@
|
|
150
86
|
|
151
87
|
{%- endif -%}
|
152
88
|
{%- endif -%}
|
153
|
-
|
154
89
|
{%- endfor -%}
|
155
90
|
{%- endif -%}
|
156
91
|
{%- endif -%}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: word-games-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- manpreet-appscms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|