word-games-theme 2.4.8 → 2.5.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: 42063df24162de8e8f19e0b2620b2a3bfcedb2c54503e8908f9a20b9ef3e28e5
4
- data.tar.gz: f26861c3884db8cb82f5dd4c0f8af80daf102024c2227a57e3faa8d88a742f35
3
+ metadata.gz: 75c1331ca023b8707776be8a63b55fc5aab011e7d7da5a664f28c3cd7e9ac1e5
4
+ data.tar.gz: 5c29b3035be2947a86dafeaddb915c784327c1d69d74b5cdda9941298fc0d265
5
5
  SHA512:
6
- metadata.gz: fb919a596561e94ddcab959402a02f153b4a4a2ca298d5c2cdfd4eac6afc5d143a1ea9577dacb6e4a32bbaab87b915ffb7429a243a5cd273575f3c2a381bb151
7
- data.tar.gz: e0361aaf00779e6457a1fd8836dac93e981479979fbe433292884e40b348394464761d953e9f8430afa35ea814b44d8ea45b125a3721503edde73a175d479338
6
+ metadata.gz: 24572d711b2a456414a848a88120cd44eb9dbc1dc75061aba4622b51617c0288624c00eb43da8275b7d0999120cd0503ec8b5036988248f2e14c50fb06ba53c5
7
+ data.tar.gz: cde3025b7a9850a7fd4b0a3ab577c8b4dbadc261b5d533e200451aae4cd0794f3758698f336c65e639fe367564681b9db57b9775c004705b041fd61f8bcea326
@@ -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}}" />
@@ -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 %}
@@ -82,6 +82,10 @@
82
82
  {%- else -%}
83
83
  {%- include wordgames/recent-posts/recent-posts.html -%}
84
84
  {% endif %}
85
+
86
+ {% include featurePageAuthors/featurePageAuthors.html %}
87
+
88
+
85
89
  {%- include wordgames/footer/footer.html -%}
86
90
 
87
91
 
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.8
4
+ version: 2.5.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-02-06 00:00:00.000000000 Z
11
+ date: 2024-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll