jumbo-jekyll-theme 3.0.48 → 3.0.49

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c8fa693a9778c9cca6134b76b46880e1c3dfddbf33d1df1f641be39ae49926e
4
- data.tar.gz: abfcf00ff3c71332c8a0e46c45af57a75e6ca4c23e49c05dc793394f3476d0e2
3
+ metadata.gz: 964271294b50c3d8d285e45be8a988a1497ddddc65c1019a90eb40754c52bf6d
4
+ data.tar.gz: b9d5a72532462429c5d172987feb084a77b5a8c331cd69c89b2a514a1e6e690e
5
5
  SHA512:
6
- metadata.gz: 3f55a5f2e41224e7c70919c1c99770920b073f963ab86686f9990e8148bb9dad7ab822226e05a830a00e83dfe182e54877096985c5b0178934e7269e5737cf50
7
- data.tar.gz: fb7ac39d1a19724927839c4f3a537e06d77cca65add7a909081db6468fc5dbc8a04dbcfe4c985267cc1172368db98c1fa8a98cef626897b15d7c040d860b23e9
6
+ metadata.gz: a2828aa0ef2a06f74a75ff9c8577d62daddaf4da012ef02629b8cc9480ab74cac72000479c91629e1ae061df852f2a9d8504231b47c13be8b670823d2562ec70
7
+ data.tar.gz: e40469156adb21f01b585f7de84ec10e8fe6d1ec71e155ebbb891ee5a536dcc156c1efda852a0bbc1f653a913f7183cdfce02f2bd953d70d80f69ce4bb007bb1
@@ -3,37 +3,34 @@
3
3
  {% if site.data.settings.blog.show_thumbnails %}
4
4
  <div class="col-md-4 col-sm-4 col-xs-4">
5
5
  <a href="{{post.url}}">
6
- {% if post.image.thumb %}
7
- <picture>
8
- <source srcset="{{post.image.thumb}}"
9
- media="(max-width: 999px)" />
10
- <source srcset="{{post.image.thumb}}"
11
- media="(min-width: 1000px)" />
12
- <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
13
- data-src="{{post.image.thumb}}"
14
- class="lazyload img-responsive center-block"/>
15
- </picture>
16
- {% elsif post.image.name %}
17
- <picture>
18
- <source srcset="{{post.image.name}}"
19
- media="(max-width: 999px)" />
20
- <source srcset="{{post.image.name}}"
21
- media="(min-width: 1000px)" />
22
- <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
23
- data-src="{{post.image.name}}"
24
- class="lazyload img-responsive center-block"/>
25
- </picture>
26
- {% else %}
27
- <picture>
28
- <source srcset="{{site.data.settings.placeholder}}"
29
- media="(max-width: 999px)" />
30
- <source srcset="{{site.data.settings.placeholder}}"
31
- media="(min-width: 1000px)" />
32
- <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
33
- data-src="{{site.data.settings.placeholder}}"
34
- class="lazyload img-responsive center-block"/>
35
- </picture>
36
- {% endif %}
6
+ {% if post.image.thumb %}
7
+ {% capture image_path %}{{site.blog_images_dir}}thumbs/{{post.image.thumb}}{% endcapture %}
8
+ {% capture full_path %}/{{site.blog_images_dir}}thumbs/{{post.image.thumb}}{% endcapture %}
9
+ {% responsive_image_block %}
10
+ template: _includes/thumb.html
11
+ path: {{ image_path }}
12
+ fullpath: {{ full_path }}
13
+ {% if post.title %}
14
+ title: {{ post.title | slugify: "ascii}}
15
+ alt: {{ post.title | slugify: "ascii}}
16
+ {% endif %}
17
+ {% endresponsive_image_block %}
18
+ {% elsif post.image.name %}
19
+ {% capture image_path %}{{site.blog_images_dir}}{{post.image.name}}{% endcapture %}
20
+ {% capture full_path %}/{{site.blog_images_dir}}{{post.image.name}}{% endcapture %}
21
+ {% responsive_image_block %}
22
+ template: _includes/thumb.html
23
+ path: {{ image_path }}
24
+ fullpath: {{ full_path }}
25
+ {% if post.title %}
26
+ title: {{ post.title | slugify: "ascii}}
27
+ alt: {{ post.title | slugify: "ascii}}
28
+ {% endif %}
29
+ {% endresponsive_image_block %}
30
+ {% else %}
31
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
32
+ data-src="{{site.data.settings.placeholder}}" alt="{{post.title}}" class="img-responsive lazyload"/>
33
+ {% endif %}
37
34
  </a>
38
35
  </div>
39
36
  <div class="col-md-8 col-sm-8 col-xs-8 post_title no-padding">
@@ -88,8 +88,8 @@
88
88
  {% endif %}
89
89
  {% endresponsive_image_block %}
90
90
  {% else %}
91
- <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
92
- data-src="{{site.data.settings.placeholder}}" alt="{{post.title}}" class="img-responsive lazyload"/>
91
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
92
+ data-src="{{site.data.settings.placeholder}}" alt="{{post.title}}" class="img-responsive lazyload"/>
93
93
  {% endif %}
94
94
  </div>
95
95
  <div class="col-md-9 col-sm-9 col-xs-9 ">
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.48
4
+ version: 3.0.49
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby