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.
- checksums.yaml +4 -4
- data/_layouts/post.html +10 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9da7989c02beb8a0a6f35f8986a331f5dec76259
|
4
|
+
data.tar.gz: 8dda677482fcb2a2cf9adce109ca0b7c2fa77c54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
{%
|
128
|
-
|
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}}">
|