jumbo-jekyll-theme 1.5.4 → 1.5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/post.html +10 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3fb230d8cf48d7864be2a543a3f52696555e810f
4
- data.tar.gz: bff14d7a8872ddf58fc0c1299bd112ead588a6f6
3
+ metadata.gz: 9da7989c02beb8a0a6f35f8986a331f5dec76259
4
+ data.tar.gz: 8dda677482fcb2a2cf9adce109ca0b7c2fa77c54
5
5
  SHA512:
6
- metadata.gz: 318869ae2b239ffa4a172191232b3716eb6024a4c53ed40b8dff45dc334a724373678d852d7793c1f602ad658772871931322145307d55c7ae21cb0fb9a1c2c6
7
- data.tar.gz: 63b6f262fe3e7b2c2b6e8d7d437c3c97a08dce0b041fa3a3cdf2bd6210deb7db350fdc062cd5caa5fdb024b1843bd06d634be3b91d3b9fceb15a5911407d7f17
6
+ metadata.gz: e305669e7b83ddf3df504585a577d6efaae4730594187139c3083796b9bfd17b271e51774f3d9824402c0172410db59ac1a355e2b604d3847cb70aeecbd95988
7
+ data.tar.gz: 0bfa9541871cd4746de2473ea1fcddb87bf9db481fcba48a4d2bc48de0c8716627626fdb029c74ca5ba0f6975378bd88b90d4737a5eabe2af4ad6c1529a7b4a1
data/_layouts/post.html CHANGED
@@ -124,8 +124,16 @@ css-package: blog
124
124
  {% if page.date %}<small class="blog-date text-center"><em>Posted on <b>{{page.date | date: "%A, %B %-d, %Y"}}</b></em></small>{% endif %}
125
125
  {% if page.categories %}in <a href="/categories/#{{page.categories[0]}}">{{page.categories[0] | capitalize}}</a>{% endif %}
126
126
  {% if page.author %}
127
- {% assign author = site.authors | where: 'username' , page.author %}
128
- {% assign author = author[0] %}
127
+ {% if site.authors %}
128
+ {% assign author = site.authors | where: "username", page.author | first %}
129
+ {% assign author-url = author.url %}
130
+ {% assign using-data-file = false %}
131
+ {% elsif site.data.authors %}
132
+ {% assign using-data-file = true %}
133
+ {% assign author = site.data.authors | where: "username", page.author | first %}
134
+ {% assign author-url = "#" %}
135
+ {% endif %}
136
+
129
137
  <em> By
130
138
  {% if author %}
131
139
  <a href="{{author-url}}">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.4
4
+ version: 1.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby