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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 713298d11a3dd1673806658ae9ff4a70d1cbc83cfc06eb6cdf4dab8a9dc1b7f5
4
- data.tar.gz: 2754deecdbd94222cab3cd46e20dca24cd7131402bff98a40ff04eccbcd06d1c
3
+ metadata.gz: f36bb5962380709c64210619ce62fb7a58acf00e51a9454bbfde4c7625ec1fb9
4
+ data.tar.gz: 24d2926a9a9393b121b73e60c4222eefad246e8f7557c299ce8548494bcc4b4d
5
5
  SHA512:
6
- metadata.gz: 15959920203a1ee93244e6180ed4f49dd84b536450b0073a55329dfcb53c34f398ab282ff4139debd9918f69e2272edb5404a502070157f5dbdc85f40fb41129
7
- data.tar.gz: 5fc0545414c6335f2d571ce618c91ab66895c1859a4c7a80c1d11f6718989445b67712f31a91a5fb11097669bd91142a0ffef4f1b4d7c14aaa9381734bb57e42
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 | find: "label", 'people'-%}
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 | find: 'handle', slug-%}
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>
@@ -1,5 +1,5 @@
1
1
  <!-- Post Header -->
2
- {%-assign peeps = site.collections | find: "label", 'people'-%}
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-%}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-editorial
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Middle Bear