jumbo-jekyll-theme 1.4.3.14 → 1.4.3.15
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 +18 -6
- 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: f1c8627c08d3833d6a99474db0dfcc0e7a381bd7
|
4
|
+
data.tar.gz: bbc63e6f42dd1dba96accc14aa55089fa2d1c84e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8472077a5c4ca946977e0d72d5840ab9aecf3391b1ab121418588097aa3001fb6db7fe9b2491bfee587e608e4343bc3f37525aef47778e619a35a6fc3af6f94
|
7
|
+
data.tar.gz: a5e035963ea133fbfd5f2ba10a6fa262e4b3d51d265ec5628173579f741f334a7344fee306fa5f3eed159d47a07e5d59970d08f30b07f0130e411c405e56da02
|
data/_layouts/post.html
CHANGED
@@ -30,8 +30,14 @@ css-package: blog
|
|
30
30
|
<div id="featured-jumbotron" class="blog blog-full-page-image-info"> <!--Jumbotron div -->
|
31
31
|
<h1 class="text-center" id="featured-image-blog-title">{{page.title}}</h1>
|
32
32
|
{% if page.author %}
|
33
|
-
{%
|
34
|
-
|
33
|
+
{% if site.authors %}
|
34
|
+
{% assign author = site.authors | where: "username", page.author | first %}
|
35
|
+
{% assign author-url = author.url %}
|
36
|
+
{% elsif site.data.authors %}
|
37
|
+
{% assign author = site.data.authors | where: "username", page.author | first %}
|
38
|
+
{% assign author-url = "#" %}
|
39
|
+
{% endif %}
|
40
|
+
<a href="{{author-url}}">
|
35
41
|
<img class="blog-author-image" style="
|
36
42
|
background-image:url({% if author.image.name %}
|
37
43
|
{% asset_path '{{author.image.name}}' %}
|
@@ -41,8 +47,14 @@ css-package: blog
|
|
41
47
|
</a>
|
42
48
|
|
43
49
|
{% if page.co-author %}
|
44
|
-
{%
|
45
|
-
|
50
|
+
{% if site.authors %}
|
51
|
+
{% assign co-author = site.authors | where: "username", page.author | first %}
|
52
|
+
{% assign co-author-url = co-author.url %}
|
53
|
+
{% elsif site.data.authors %}
|
54
|
+
{% assign co-author = site.data.authors | where: "username", page.author | first %}
|
55
|
+
{% assign co-author-url = co-author.url %}
|
56
|
+
{% endif %}
|
57
|
+
<a href="{{co-author-url}}">
|
46
58
|
<img class="blog-author-image" style="
|
47
59
|
background-image:url({% if co-author.image.name %}
|
48
60
|
{% asset_path '{{co-author.image.name}}' %}
|
@@ -53,11 +65,11 @@ css-package: blog
|
|
53
65
|
<br />
|
54
66
|
<small class="blog-author text-center">
|
55
67
|
By
|
56
|
-
<a href="{{author
|
68
|
+
<a href="{{author-url}}">
|
57
69
|
<em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
|
58
70
|
</a>
|
59
71
|
and
|
60
|
-
<a href="{{co-author
|
72
|
+
<a href="{{co-author-url}}">
|
61
73
|
<em>{% if co-author.name %}{{co-author.name}}{% else %}{{page.co-author}}{% endif %}</em>
|
62
74
|
</a>
|
63
75
|
</small>
|