word-games-theme 2.4.9 → 2.5.1

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: d7790473d415a99246a4afa78006a4c8be3ec68907bf808767eb2c7f4f712aa2
4
- data.tar.gz: 1a7cbc9db1670f90c9c527e205a695fbca55b9620ad984a0382cd4d432fd90be
3
+ metadata.gz: 24b07cdf27d3fe979f1ebd75cbe07545fc0b04772525aa5cb9753460a66d1352
4
+ data.tar.gz: 0e693137f7be9b5c1ad11efcfc318e1cefce48938229081bc60ed1620c046f0d
5
5
  SHA512:
6
- metadata.gz: 7e8e2099a0d9d62d74993dd7d9c8920bd29a5f0a21259a713737676951dbd4ade325205519c6ad24d6d96cda04a83c10966a63551d0f5ce688ab20729f61f7de
7
- data.tar.gz: 82714a0a9c3de3b70f3b21d570d8ce08d6f82cc2685637e449407b1e0f837e4f34d264354777670de14f1a9760c6b62f165aaed82f662e6391780fb8d46e0ceb
6
+ metadata.gz: 4356a5877fff3a1c6bbd77b414a1c7376d44e750433853db894abe9cc99a94208ce25a0b6e41481f8877d2eaddef2884686544dffbf109d1618a8fcbe0bdb833
7
+ data.tar.gz: c91c1a72379848fd0e38d53e5c7c377e6f4d4a938343f339021eb8cb0acc67e9026a93fa092e319359cb567b60a59ac5c908e1842bdb6355a0080bbfd00379dc
@@ -1,21 +1,37 @@
1
1
  <head>
2
2
  {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
3
- {% for post in posts %}
4
3
  {%- include /authors/authors.html -%}
5
- {% if authorName contains page.authorName %}
6
- {% capture author_info %}{% assign author = authorName %}{% assign bio = bio %}{{ author }} - {{ bio }}{% endcapture %}
4
+ {%- assign postAuthor = page.authorName | split: " " -%}
5
+ {%- assign author = postAuthor.first | downcase -%}
6
+ {%- assign collection = [author] -%}
7
+ {%- for item in collection -%}
8
+ {%- if forloop.index==1 -%}
9
+ {%- assign authorName = item -%}
10
+ {%- endif -%}
11
+ {%- if forloop.index==2 -%}
12
+ {%- assign image = item -%}
13
+ {%- endif -%}
14
+ {%- if forloop.index==3 -%}
15
+ {%- assign bio = item -%}
16
+ {%- endif -%}
17
+ {%- endfor -%}
18
+
19
+
20
+ {% capture author_info %}{% assign author = authorName %}{% assign bio = bio %}{{ author }} - {{ bio }}{% endcapture
21
+ %}
7
22
  {% capture author_name %}{% assign author = authorName %}{{ author }}{% endcapture %}
8
23
 
9
24
  {% assign authorPageTitle = author_info %}
10
25
  {% assign author_name = author_name %}
11
- {%- endif -%}
12
- {% endfor %}
26
+
27
+
13
28
 
14
29
 
15
30
  {%- assign title = newtitle -%}
16
31
  {%- assign description = pagedescription-%}
17
32
 
18
33
 
34
+
19
35
  <meta charset="UTF-8" />
20
36
  <link rel="shortcut icon" href="{{favicon}}" />
21
37
  <link rel="canonical" href="{{site.url | append: page.url}}" />
@@ -49,7 +49,7 @@
49
49
  <link rel="stylesheet" href="/assets/css/wordgames-home.css" />
50
50
 
51
51
 
52
- {%- if page.noResultPage -%}
52
+ {%- if site.noResultPage or page.noResultPage -%}
53
53
  <link rel="stylesheet" href="/assets/css/wordgames-result.css" />
54
54
  {%- endif -%}
55
55
 
@@ -1,4 +1,4 @@
1
- {%- if page.noResultPage -%}
1
+ {%- if site.noResultPage or page.noResultPage -%}
2
2
  <div class="serachSection" data-url="{{site.url}}" data-range="{{page.blanktilerange}}" data-letter="{{page.letter}}"
3
3
  data-ablank="{{page.ablank}}">
4
4
  <div class="position-relative serachBox">
@@ -102,7 +102,7 @@
102
102
  {%- endif -%}
103
103
 
104
104
 
105
- {%- if page.noResultPage -%}
105
+ {%- if site.noResultPage or page.noResultPage -%}
106
106
  <div class="container" id="containerWd">
107
107
  {% include wordgames/words-data/words-data.html %}
108
108
  </div>
@@ -315,9 +315,7 @@
315
315
  <h3 class="mb-4 articles-label">Authored Articles</h3>
316
316
  {%- endif -%}
317
317
 
318
-
319
-
320
- <h3 class="mb-4 articles-label">Authored Articles</h3>
318
+ <!-- <h3 class="mb-4 articles-label">Authored Articles</h3> -->
321
319
  <div class="row">
322
320
  {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
323
321
  {% for post in posts %}
@@ -3,7 +3,7 @@
3
3
 
4
4
  {%- include wordgames/head/head.html -%}
5
5
 
6
- {%- if page.noResultPage -%}
6
+ {%- if site.noResultPage or page.noResultPage -%}
7
7
  <style>
8
8
  .main-header {
9
9
  margin: 0px !important;
@@ -27,7 +27,7 @@
27
27
 
28
28
 
29
29
  <div class="main-header">
30
- {%- if page.noResultPage -%}
30
+ {%- if site.noResultPage or page.noResultPage -%}
31
31
  <div class="d-none overlay">
32
32
  <img width="100%" height="100%" id="header-img" src="/assets/images/background.svg" alt="background.svg">
33
33
  </div>
@@ -100,9 +100,9 @@
100
100
  {%- endif -%}
101
101
  <script defer src="/assets/js/theme.js"></script>
102
102
 
103
- {%- if page.noResultPage and page.letter -%}
103
+ {%- if site.noResultPage or page.noResultPage and page.letter -%}
104
104
  <script defer src="/assets/js/xletter-home.js"></script>
105
- {%- elsif page.noResultPage -%}
105
+ {%- elsif site.noResultPage or page.noResultPage -%}
106
106
  <script defer src="/assets/js/wordfinder-home.js"></script>
107
107
  {%- else -%}
108
108
  <script defer src="/assets/js/wordgames-home.js"></script>
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.4.9
4
+ version: 2.5.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-02-07 00:00:00.000000000 Z
11
+ date: 2024-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll