jumbo-jekyll-theme 3.0.38 → 3.0.39

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/post.html +5 -7
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e00477f515e8c0014ec074c2a404a015fd23917fc18eb7000b505624482238b
4
- data.tar.gz: 48606683199bf13f90fa40b9623e35543af226ec3ac072953e7f5fb52c32f200
3
+ metadata.gz: 10fb84c9249f2578e539c660fe1fc203b7f0176c8bc5cc79cb29ecb113567e95
4
+ data.tar.gz: 9b3cb714661b6b5e8b5b2b760c317216284487e9eeb96a658c6b45de3b4851b0
5
5
  SHA512:
6
- metadata.gz: '09b275bd7062e050a693c03bd5ac1c565c11d5a0859023c5837d15628f99313404144f8aae5b1425bfc5dd0973a7941a51408ad2d9f7a4c02d7997f9b1d8de73'
7
- data.tar.gz: '07189fb7e87c055ab5cc3656a2c28a5c73d2fd62a1c2e422f8189f410161fc622469d9452a73ebd4a39e5da9dfd4adf411c82b3187ded403928f5fe794e14b49'
6
+ metadata.gz: 9eda82ebfd93606d9dd3506a4080c9e3f1fafc005a6cdbbbeadf0c3836e5ab08d8cfa95fff84cd1c1b61f1c624767aaa70e587890e6d080290ef29049bd4a3f9
7
+ data.tar.gz: 5112d00b36ea467d4e35e0cefd6a94735c47f86e54dd7bd8bb43a0733a5e23b1ed58a38a06b2f0c398aca682ccd99622fa8154629bf23aa793090a98421a2b7f
data/_layouts/post.html CHANGED
@@ -12,12 +12,11 @@ css-package: blog
12
12
  {% assign author = site.authors | where: "username", page.author | first %}
13
13
  {% assign author-url = author.url %}
14
14
  <a href="{{author-url}}">
15
- <img class="blog-author-image" style="
16
- background-image:url({% if author.image.path %}
15
+ <div class="blog-author-image lazyload" data-bg="{% if author.image.path %}
17
16
  '{{author.image.path}}'
18
17
  {% else %}
19
18
  /assets/images/'avatar-placeholder.png'
20
- {% endif %})" />
19
+ {% endif %}"></div>
21
20
  </a>
22
21
  {% endif %}
23
22
  {% if page.co-author %}
@@ -26,12 +25,11 @@ css-package: blog
26
25
  {% assign co-author-url = co-author.url %}
27
26
  {% endif %}
28
27
  <a href="{{co-author-url}}">
29
- <img class="blog-author-image" style="
30
- background-image:url({% if co-author.image.name %}
31
- {{co-author.image.name}}
28
+ <div class="blog-author-image lazyload" data-bg="{% if co-author.image.name %}
29
+ {{co-author.image.path}}
32
30
  {% else %}
33
31
  /assets/images/avatar-placeholder.png
34
- {% endif %})" />
32
+ {% endif %}"></div>
35
33
  </a>
36
34
  <small class="blog-author text-center">
37
35
  By
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: 3.0.38
4
+ version: 3.0.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby