word-games-theme 2.8.7 → 2.8.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: 769e42af9ca19de0255393f8d77c3dd19bd1b90172cf853f150c8251f573a927
4
- data.tar.gz: 776d3e680ba5e2e0a47a136a0ecad024e08da21043e72a1555bcdf61e337f2fd
3
+ metadata.gz: 67d5d17a7bbc189f8352b92bce6e2edb83504a07c27e4e109461a20ac56b4040
4
+ data.tar.gz: 9fade59847cac2d1c3699515b0166577184ff811c8e753929743866b160d75f0
5
5
  SHA512:
6
- metadata.gz: bc0c0cffb3736173fd8a1cfc0cdb87e357f2463a60c75161a5f12ad97376acc004563b969b1990bba8d80622bf5237f8c5d160b160375afd8501f8d2061f929d
7
- data.tar.gz: c13fc1b39b658385331a6a1d569f483a3c6c4b3890c71cf1ac8889de5d7ad4491add6d89d78ed97d94e2d87cbe445b99854b6a4ddcbeb61e9add8ba4a2d21eea
6
+ metadata.gz: f20949983017dc638f4c7a613f4fe86a6bc22b3431c20bc3d30b8ed188a0b93d5fafe6dd28df817d2f3829b42739878f37bb78f0e3e23c4196f37a92f7226124
7
+ data.tar.gz: 88f4d5cb77759e0fda9e636ba2687482b37b6066747bd90ec6718bfb72e3daea54f163b991364c2ea656dd2aec51f0c4a463f3497017eecaa3d76584b3e31092
@@ -0,0 +1,46 @@
1
+ {%- include languages/languages.html -%}
2
+ {%- if page.permalink == nil -%}
3
+ <link data-rh="true" rel="alternate" href="{{site.url}}" hreflang="en" />
4
+ {%- for i in matchurls -%}
5
+ {%- for checklang in site.pages -%}
6
+ {%- if checklang.permalink == i -%}
7
+ {%- assign languagetext = [i] -%}
8
+ <link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
9
+ {%- endif -%}
10
+ {%- endfor -%}
11
+
12
+ {%- endfor -%}
13
+ {%- else -%}
14
+
15
+ {%- if matchurls contains page.permalink -%}
16
+ {%- assign languagetext = [i] -%}
17
+ <link data-rh="true" rel="alternate" href="{{site.url}}" hreflang="en" />
18
+ {%- for i in matchurls -%}
19
+ {%- assign languagetext = [i] -%}
20
+ {%- if i== page.permalink -%}
21
+ <link data-rh="true" rel="alternate" href="{{site.url}}{{page.permalink}}" hreflang="{{languagetext[0]}}" />
22
+ {%- else -%}
23
+ {%- for checklang in site.pages -%}
24
+ {%- if checklang.permalink == i -%}
25
+ {%- assign languagetext = [i] -%}
26
+ <link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
27
+ {%- endif -%}
28
+ {%- endfor -%}
29
+ {%- endif -%}
30
+ {%- endfor -%}
31
+ {%- else -%}
32
+ {%- for item in site.pages -%}
33
+ {%- assign languagetext = [item.lang] -%}
34
+ {%- assign pagelink = page.permalink | split: "/" | last-%}
35
+ {%- assign itemlink = item.permalink | split: "/" | last-%}
36
+ {%- if pagelink == itemlink and page.lang != item.lang and page.permalink !=
37
+ item.permalink -%}
38
+ <link data-rh="true" rel="alternate" href="{{site.url}}{{item.permalink}}" hreflang="{{languagetext[0]}}" />
39
+ {%- endif -%}
40
+ {%- if pagelink == itemlink and page.lang == item.lang -%}
41
+
42
+ <link data-rh="true" rel="alternate" href="{{site.url}}{{item.permalink}}" hreflang="{{languagetext[0]}}" />
43
+ {%- endif -%}
44
+ {%- endfor -%}
45
+ {%- endif -%}
46
+ {%- endif -%}
@@ -32,6 +32,9 @@
32
32
  <meta name="robots" content="noindex" />
33
33
  {%- endif -%}
34
34
 
35
+ {% if site.noindex_languages contains page.lang %}
36
+ <meta name="robots" content="noindex" />
37
+ {% endif %}
35
38
 
36
39
  <title>{{ newtitle }}</title>
37
40
 
@@ -69,8 +72,8 @@
69
72
  <link rel="stylesheet" href="/assets/css/adBlocker.css" />
70
73
  {%- endif -%}
71
74
 
72
- {%- if site.internationalization or site.internationalizationall -%}
73
- {%- include /wordgames/alternates/alternates.html -%}
75
+ {%- if site.internationalizationall -%}
76
+ {%- include alternates/alternates.html -%}
74
77
  {%- endif -%}
75
78
 
76
79
  {% include /cssfile/links.html %}
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: 2.8.7
4
+ version: 2.8.8
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-06-11 00:00:00.000000000 Z
11
+ date: 2024-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -120,6 +120,7 @@ files:
120
120
  - _includes/WordPointTables/table.html
121
121
  - _includes/adBlocker/adBlocker.html
122
122
  - _includes/adsense/adsense.html
123
+ - _includes/alternates/alternates.html
123
124
  - _includes/author_bio.html
124
125
  - _includes/authorpagehead/index.html
125
126
  - _includes/authors/authors.html