word-games-theme 2.9.8 → 3.0.0

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: 574ffeca33045625364d0553d3b093f8a6b060613c8e65c253ddeb3919764f5a
4
- data.tar.gz: 4a605103971a1ab1d0f088b54547bbc98033a45c4630ca6746f1cd66f1c630f7
3
+ metadata.gz: 9154197ee26c7d5f68a20df31a0700c756d8f379f76ad76b9c84750dfaba7da6
4
+ data.tar.gz: 88589966f18a0dd37f2c263ddf024d3dba9df841b1417d12600c00bff67d1e8c
5
5
  SHA512:
6
- metadata.gz: 86263080e47ac19426563baf5b938a4c9aa1233c9b8b3bc64c1c4f03bd6a9f166bb4afea5c6f21924dc353be696ff8fd43df6f0726c952499d733ec8f7071065
7
- data.tar.gz: 0af75b8a64cab19b78192a094b42619baf9c251eac4151ec8cbcff13138a3a426587e2a4d63ee33be765923569135672f11bd3637cf6a3871c17ba8a8d4881a8
6
+ metadata.gz: dab60a3789139587669187de718834395875f9a0b5f17ac7e729289f879c1159b6c6ad7f53e7306494a90b63a9ceb15ad1673252edbcec40dee3e2df21ed004f
7
+ data.tar.gz: d63c2eb97c9df097faee11039b4113418cf86283cca33681449d0f7a91e5f0ce9234ca5b88c1bc62210d7a0a7c171df7eb7922b35d111321132db13d398215ca
@@ -73,8 +73,11 @@
73
73
  {% assign current_url = url | remove_first: '/' | strip %}
74
74
  {% assign language_url = languagetext[0] | strip %}
75
75
  {% if current_url == language_url %}
76
- <link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
76
+ {%- assign exclude_url = true -%}
77
77
  {% endif %}
78
+ {%- if exclude_url -%}
79
+ <link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
80
+ {%- endif -%}
78
81
  {% endfor %}
79
82
  {%- endif -%}
80
83
  {%- else -%}
@@ -99,9 +102,12 @@
99
102
  {% for url in whitelist_urls %}
100
103
  {% assign current_url = url | strip %}
101
104
  {% if current_url == item.permalink %}
102
- <link data-rh="true" rel="alternate" href="{{site.url}}{{item.permalink}}" hreflang="{{languagetext[0]}}" />
105
+ {%- assign exclude_url = true -%}
103
106
  {% endif %}
104
107
  {% endfor %}
108
+ {%- if exclude_url -%}
109
+ <link data-rh="true" rel="alternate" href="{{site.url}}{{item.permalink}}" hreflang="{{languagetext[0]}}" />
110
+ {%- endif -%}
105
111
  {%- endif -%}
106
112
  {%- else -%}
107
113
  <link data-rh="true" rel="alternate" href="{{site.url}}{{item.permalink}}" hreflang="{{languagetext[0]}}" />
@@ -61,7 +61,7 @@
61
61
  </style>
62
62
 
63
63
  <body>
64
- {% include wordgames/header/header.html %}
64
+ {% include wordgames/header/new-header.html %}
65
65
  <div class="container py-5 about_layout">
66
66
  {%- if site.ezoicAds and page.url != '/' and page.lang == "en" -%}
67
67
  <div class="row">
@@ -4,7 +4,7 @@
4
4
  {%- include wordgames/head/head.html -%}
5
5
 
6
6
  <body>
7
- {%- include wordgames/header/header.html -%}
7
+ {%- include wordgames/header/new-header.html -%}
8
8
 
9
9
  {{content}}
10
10
 
@@ -150,7 +150,7 @@
150
150
 
151
151
 
152
152
  <body>
153
- {%- include wordgames/header/header.html -%}
153
+ {%- include wordgames/header/new-header.html -%}
154
154
  <section class="author-page">
155
155
  <div class="container-fluid">
156
156
  <div class="row">
@@ -48,7 +48,7 @@
48
48
  </style>
49
49
 
50
50
  <body>
51
- {%- include wordgames/header/header.html -%}
51
+ {%- include wordgames/header/new-header.html -%}
52
52
  <section class="authors-list" style="margin-top:100px">
53
53
  <div class="container">
54
54
  <div class="row">
@@ -4,7 +4,7 @@
4
4
  {%- include wordgames/head/head.html -%}
5
5
  <body>
6
6
 
7
- {%- include wordgames/header/header.html -%}
7
+ {%- include wordgames/header/new-header.html -%}
8
8
 
9
9
  {%- if site.newFeatureBox -%}
10
10
  <div class="wordgametheme-sidebar-left"></div>
@@ -8,7 +8,7 @@
8
8
 
9
9
 
10
10
  <body>
11
- {%- include wordgames/header/header.html -%}
11
+ {%- include wordgames/header/new-header.html -%}
12
12
 
13
13
  <!-- Start main body content -->
14
14
  <section class="features-content section-gap">
@@ -8,7 +8,7 @@
8
8
 
9
9
 
10
10
  <body>
11
- {%- include wordgames/header/header.html -%}
11
+ {%- include wordgames/header/new-header.html -%}
12
12
 
13
13
  <!-- Start main body content -->
14
14
  <section class="features-content section-gap">
@@ -8,7 +8,7 @@
8
8
 
9
9
 
10
10
  <body>
11
- {%- include wordgames/header/header.html -%}
11
+ {%- include wordgames/header/new-header.html -%}
12
12
 
13
13
 
14
14
  <!-- Start main body content -->
@@ -86,7 +86,7 @@
86
86
  </style>
87
87
 
88
88
  <body>
89
- {%- include wordgames/header/header.html -%}
89
+ {%- include wordgames/header/new-header.html -%}
90
90
 
91
91
  {%- if site.newFeatureBox -%}
92
92
  <div class="wordgametheme-sidebar-left"></div>
data/assets/js/theme.js CHANGED
@@ -96,7 +96,7 @@ function displayResults(results) {
96
96
  const resultsContainer = document.getElementById('results');
97
97
  resultsContainer.style.display = results.length ? 'block' : 'none';
98
98
  resultsContainer.innerHTML = results.length
99
- ? results.map(result => `<div class="result-item"><a href="${result.url}" target="_blank">${result.name}</a></div>`).join('')
99
+ ? results.map(result => `<div class="result-item"><a href="${result.url}">${result.name}</a></div>`).join('')
100
100
  : '<p>No results found</p>';
101
101
  }
102
102
  const searchInput = document.querySelector('.searchBar input');
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.9.8
4
+ version: 3.0.0
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-12 00:00:00.000000000 Z
11
+ date: 2024-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll