word-games-theme 2.8.7 → 2.8.9

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
  SHA256:
3
- metadata.gz: 769e42af9ca19de0255393f8d77c3dd19bd1b90172cf853f150c8251f573a927
4
- data.tar.gz: 776d3e680ba5e2e0a47a136a0ecad024e08da21043e72a1555bcdf61e337f2fd
3
+ metadata.gz: 7dafd49be79e27646f30fd9e78b00671311aad5959071f296bc3f18d6698bb48
4
+ data.tar.gz: cbeb034a706fc2d6c62aa1441b836bad56c11144fb73b354119ac7eb6c47ad4f
5
5
  SHA512:
6
- metadata.gz: bc0c0cffb3736173fd8a1cfc0cdb87e357f2463a60c75161a5f12ad97376acc004563b969b1990bba8d80622bf5237f8c5d160b160375afd8501f8d2061f929d
7
- data.tar.gz: c13fc1b39b658385331a6a1d569f483a3c6c4b3890c71cf1ac8889de5d7ad4491add6d89d78ed97d94e2d87cbe445b99854b6a4ddcbeb61e9add8ba4a2d21eea
6
+ metadata.gz: 4a0caa0dc8c6ff5772d5aa63918305ef1034e8e937665a291fd0b3d4ff4228fad8659c304963cbaec9ac76e65650835857f64c6b7fd7c24c78385cf2fb059e2a
7
+ data.tar.gz: ca4aff872658e6c7f4e74c1a4b60b86f5af8996348f3e70e5f6337ae926988be313ffb362cb2bb9e6eef6ba408f57926ba6245bf3ef7165f38b64514a94407df
@@ -0,0 +1,72 @@
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
+
9
+ {% if site.noindex_languages contains languagetext[0] %}
10
+ {%- else -%}
11
+ <link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
12
+ {%- endif -%}
13
+
14
+ {%- endif -%}
15
+ {%- endfor -%}
16
+
17
+ {%- endfor -%}
18
+ {%- else -%}
19
+
20
+ {%- if matchurls contains page.permalink -%}
21
+ {%- assign languagetext = [i] -%}
22
+ <link data-rh="true" rel="alternate" href="{{site.url}}" hreflang="en" />
23
+ {%- for i in matchurls -%}
24
+ {%- assign languagetext = [i] -%}
25
+ {%- if i== page.permalink -%}
26
+
27
+ {% if site.noindex_languages contains languagetext[0] %}
28
+ {%- else -%}
29
+ <link data-rh="true" rel="alternate" href="{{site.url}}{{page.permalink}}" hreflang="{{languagetext[0]}}" />
30
+ {%- endif -%}
31
+
32
+ {%- else -%}
33
+ {%- for checklang in site.pages -%}
34
+ {%- if checklang.permalink == i -%}
35
+ {%- assign languagetext = [i] -%}
36
+
37
+ {% if site.noindex_languages contains languagetext[0] %}
38
+ {%- else -%}
39
+ <link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
40
+ {%- endif -%}
41
+
42
+
43
+ {%- endif -%}
44
+ {%- endfor -%}
45
+ {%- endif -%}
46
+ {%- endfor -%}
47
+ {%- else -%}
48
+ {%- for item in site.pages -%}
49
+ {%- assign languagetext = [item.lang] -%}
50
+ {%- assign pagelink = page.permalink | split: "/" | last-%}
51
+ {%- assign itemlink = item.permalink | split: "/" | last-%}
52
+ {%- if pagelink == itemlink and page.lang != item.lang and page.permalink !=
53
+ item.permalink -%}
54
+
55
+ {% if site.noindex_languages contains languagetext[0] %}
56
+ {%- else -%}
57
+ <link data-rh="true" rel="alternate" href="{{site.url}}{{item.permalink}}" hreflang="{{languagetext[0]}}" />
58
+ {%- endif -%}
59
+
60
+
61
+ {%- endif -%}
62
+ {%- if pagelink == itemlink and page.lang == item.lang -%}
63
+
64
+ {% if site.noindex_languages contains languagetext[0] %}
65
+ {%- else -%}
66
+ <link data-rh="true" rel="alternate" href="{{site.url}}{{item.permalink}}" hreflang="{{languagetext[0]}}" />
67
+ {%- endif -%}
68
+
69
+ {%- endif -%}
70
+ {%- endfor -%}
71
+ {%- endif -%}
72
+ {%- 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 %}
@@ -19,10 +19,10 @@
19
19
  </div>
20
20
  <div class="dictonaryDropdown">
21
21
  <select class="form-select select_dropDown2" name="dictionary" aria-label="Default select example">
22
- <option value="Dictionary">Dictionary</option>
23
- <option value="twl06" id="twl06">TWL06 (US, Canada, Thailand)</option>
24
- <option selected value="sowpods" id="sowpods">SOWPODS (Uk and Others)</option>
25
- <option value="wwf" id="wwf">Enable (Words With Friends)</option>
22
+ <option value="Dictionary">All Dictionaries</option>
23
+ <option value="twl06" id="twl06">Scrabble US (TWL06)</option>
24
+ <option selected value="sowpods" id="sowpods">Scrabble UK (SOWPODS)</option>
25
+ <option value="wwf" id="wwf">Words With Friends (Enable)</option>
26
26
  </select>
27
27
  </div>
28
28
  </div>
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.9
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-17 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