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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/post.html +18 -6
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9807f42a248e0f5c2ff8eba2888e9dc8d1da22f4
4
- data.tar.gz: 6c8956b99cf4fc0cf5a075010072e529f837e2aa
3
+ metadata.gz: f1c8627c08d3833d6a99474db0dfcc0e7a381bd7
4
+ data.tar.gz: bbc63e6f42dd1dba96accc14aa55089fa2d1c84e
5
5
  SHA512:
6
- metadata.gz: 88b7914e38452604ec72793766bfce70c685d348b9cc2ce3cf71199cc8e7fcb607710219b8354a78b63dcffde92aee7b4d0908b11f1986ecb6ac1a28a2249a57
7
- data.tar.gz: 8d15666784dbebe693ce83f550eb7e7d4546bae72f53c22794f470cb41dba364a61ba1a3b84e864d3068a10127eaed63a0fb0bb1198f98a4e5497a412415f37c
6
+ metadata.gz: e8472077a5c4ca946977e0d72d5840ab9aecf3391b1ab121418588097aa3001fb6db7fe9b2491bfee587e608e4343bc3f37525aef47778e619a35a6fc3af6f94
7
+ data.tar.gz: a5e035963ea133fbfd5f2ba10a6fa262e4b3d51d265ec5628173579f741f334a7344fee306fa5f3eed159d47a07e5d59970d08f30b07f0130e411c405e56da02
@@ -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
- {% assign author = site.authors | where: "username", page.author | first %}
34
- <a href="{{author.url}}">
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
- {% assign co-author = site.authors | where: "username", page.co-author | first %}
45
- <a href="{{co-author.url}}">
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.url}}">
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.url}}">
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>
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.4.3.14
4
+ version: 1.4.3.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby