word-games-theme 2.4.9 → 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: d7790473d415a99246a4afa78006a4c8be3ec68907bf808767eb2c7f4f712aa2
4
- data.tar.gz: 1a7cbc9db1670f90c9c527e205a695fbca55b9620ad984a0382cd4d432fd90be
3
+ metadata.gz: 75c1331ca023b8707776be8a63b55fc5aab011e7d7da5a664f28c3cd7e9ac1e5
4
+ data.tar.gz: 5c29b3035be2947a86dafeaddb915c784327c1d69d74b5cdda9941298fc0d265
5
5
  SHA512:
6
- metadata.gz: 7e8e2099a0d9d62d74993dd7d9c8920bd29a5f0a21259a713737676951dbd4ade325205519c6ad24d6d96cda04a83c10966a63551d0f5ce688ab20729f61f7de
7
- data.tar.gz: 82714a0a9c3de3b70f3b21d570d8ce08d6f82cc2685637e449407b1e0f837e4f34d264354777670de14f1a9760c6b62f165aaed82f662e6391780fb8d46e0ceb
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 %}
metadata CHANGED
@@ -1,7 +1,7 @@
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.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - manpreet-appscms