jumbo-jekyll-theme 1.4.3.16 → 1.4.3.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_layouts/post.html +19 -1
- 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: e3124b17c4fa3299616dbf7141ca384ceb4c654e
|
|
4
|
+
data.tar.gz: 165ff3d085f9ab20870015ebbcfb8e006132b89d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4442a9248c09f470762ca8e0287c5b5596866234eb9ba2e149c799b24aa7ef6a6dff9f003634c0f33dd79f20d2505ca49fc1dd2b2bb53801ba2fa54312bf57c
|
|
7
|
+
data.tar.gz: 98a3fb75711429d61ef48478bd055a66b7fde146e565e9db2b7ef64ecb55c21e4b30bddceb402a79884bd93596f80b1062db0fd66693c36695251f5c9df6ba46
|
data/_layouts/post.html
CHANGED
|
@@ -33,10 +33,21 @@ css-package: blog
|
|
|
33
33
|
{% if site.authors %}
|
|
34
34
|
{% assign author = site.authors | where: "username", page.author | first %}
|
|
35
35
|
{% assign author-url = author.url %}
|
|
36
|
+
{% assign using-data-file = false %}
|
|
36
37
|
{% elsif site.data.authors %}
|
|
38
|
+
{% assign using-data-file = true %}
|
|
37
39
|
{% assign author = site.data.authors | where: "username", page.author | first %}
|
|
38
40
|
{% assign author-url = "#" %}
|
|
39
41
|
{% endif %}
|
|
42
|
+
|
|
43
|
+
{% if site.using-data-file %}
|
|
44
|
+
<img class="blog-author-image" style="
|
|
45
|
+
background-image:url({% if author.image.name %}
|
|
46
|
+
{% asset_path '{{author.image.name}}' %}
|
|
47
|
+
{% else %}
|
|
48
|
+
{% asset_path 'avatar-placeholder.png' %}
|
|
49
|
+
{% endif %})" />
|
|
50
|
+
{% else %}
|
|
40
51
|
<a href="{{author-url}}">
|
|
41
52
|
<img class="blog-author-image" style="
|
|
42
53
|
background-image:url({% if author.image.name %}
|
|
@@ -45,6 +56,7 @@ css-package: blog
|
|
|
45
56
|
{% asset_path 'avatar-placeholder.png' %}
|
|
46
57
|
{% endif %})" />
|
|
47
58
|
</a>
|
|
59
|
+
{% endif %}
|
|
48
60
|
|
|
49
61
|
{% if page.co-author %}
|
|
50
62
|
{% if site.authors %}
|
|
@@ -52,7 +64,6 @@ css-package: blog
|
|
|
52
64
|
{% assign co-author-url = co-author.url %}
|
|
53
65
|
{% elsif site.data.authors %}
|
|
54
66
|
{% assign co-author = site.data.authors | where: "username", page.author | first %}
|
|
55
|
-
{% assign co-author-url = co-author.url %}
|
|
56
67
|
{% endif %}
|
|
57
68
|
<a href="{{co-author-url}}">
|
|
58
69
|
<img class="blog-author-image" style="
|
|
@@ -64,6 +75,12 @@ css-package: blog
|
|
|
64
75
|
</a>
|
|
65
76
|
<br />
|
|
66
77
|
<small class="blog-author text-center">
|
|
78
|
+
{% if using-data-file %}
|
|
79
|
+
By
|
|
80
|
+
<em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
|
|
81
|
+
and
|
|
82
|
+
<em>{% if co-author.name %}{{co-author.name}}{% else %}{{page.co-author}}{% endif %}</em>
|
|
83
|
+
{% else %}
|
|
67
84
|
By
|
|
68
85
|
<a href="{{author-url}}">
|
|
69
86
|
<em>{% if author.name %}{{author.name}}{% else %}{{page.author}}{% endif %}</em>
|
|
@@ -72,6 +89,7 @@ css-package: blog
|
|
|
72
89
|
<a href="{{co-author-url}}">
|
|
73
90
|
<em>{% if co-author.name %}{{co-author.name}}{% else %}{{page.co-author}}{% endif %}</em>
|
|
74
91
|
</a>
|
|
92
|
+
{% endfi %}
|
|
75
93
|
</small>
|
|
76
94
|
<br />
|
|
77
95
|
{% else %}
|