jekyll-theme-editorial 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/authors_byline.html +5 -2
- data/_includes/post_header.html +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f36bb5962380709c64210619ce62fb7a58acf00e51a9454bbfde4c7625ec1fb9
|
4
|
+
data.tar.gz: 24d2926a9a9393b121b73e60c4222eefad246e8f7557c299ce8548494bcc4b4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98f91826f9afa7ee688c18c02722191eb8d63fb75d9b9bc867d43ce35c7474eb46fee40ab296212290a5c9f9079e63b773e96b473028f485fd9741f1df4811f6
|
7
|
+
data.tar.gz: 8b9d4c1810a47233e980edf3ad4b8735320ba20dee720eebf393ba2689b916b3ee52371f2010e35aea8be456b8067c1ca5d5ea54c35dfd3fd0835ab5c70929bc
|
@@ -20,7 +20,7 @@ local:
|
|
20
20
|
{%-endcomment-%}
|
21
21
|
|
22
22
|
{%-assign authors = include.author | default: page.author-%}
|
23
|
-
{%-assign peeps = site.collections |
|
23
|
+
{%-assign peeps = site.collections | where: "label", 'people' | first-%}
|
24
24
|
|
25
25
|
{%-if site.show.post_authors and page.type=="posts"-%}
|
26
26
|
{%-assign show_authors = true-%}
|
@@ -35,6 +35,9 @@ local:
|
|
35
35
|
{%-assign show_authors = false-%}
|
36
36
|
{%-endif-%}
|
37
37
|
{%-assign has_author_cards = false-%}
|
38
|
+
{%-elsif site.show.authors-%}
|
39
|
+
{%-assign show_authors = true-%}
|
40
|
+
{%-assign has_author_cards = false-%}
|
38
41
|
{%-else-%}
|
39
42
|
{%-assign show_authors = false-%}
|
40
43
|
{%-assign has_author_cards = false-%}
|
@@ -43,7 +46,7 @@ local:
|
|
43
46
|
{%-if site.show.authors and show_authors-%}
|
44
47
|
<ul class="inline csv authors">
|
45
48
|
{%-for slug in authors-%}
|
46
|
-
{%-assign author = site.people |
|
49
|
+
{%-assign author = site.people | where: 'handle', slug | first-%}
|
47
50
|
{%-assign author_name = author.name | default: slug-%}
|
48
51
|
{%-if author.published and has_author_cards %}
|
49
52
|
<li><a href="#{{-author.handle-}}" class="p-author" title="Read {{ author.handle-}}'s excerpt below">{{-author_name-}}</a></li>
|
data/_includes/post_header.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<!-- Post Header -->
|
2
|
-
{%-assign peeps = site.collections |
|
2
|
+
{%-assign peeps = site.collections | where: "label", 'people' | first-%}
|
3
3
|
{%-assign authors = include.author | default: page.author-%}
|
4
4
|
{%-assign page_title = include.page_title | default: page.title-%}
|
5
5
|
{%-assign subtitle = include.subtitle | default: page.subtitle-%}
|