jumbo-jekyll-theme 3.2.3 → 3.2.3.1

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/_includes/post-sidebar.html +24 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 416073aa365801cbcdab01d8f3aa755405c7c5ae41140cce0b981400e3caf8d5
4
- data.tar.gz: c8e99023c170c17f76d47541714cd9646fdaded92a47530a0f75d4f5d4bf834a
3
+ metadata.gz: 4b339ddb75f83decde277cce4ff64de6008dac5207e4df1573c4ecced99d8568
4
+ data.tar.gz: 452767a0418a3a2801062ebea2c8aa7706aa3284c2721b931137cf22cf1c75d7
5
5
  SHA512:
6
- metadata.gz: 7b51a8f80a7aaa9ed9c3ea524a202c0bd53c47d179fd5fb6d1f2b2e32339be955b700cfbf0f4875b304c76c3640de5d4b68d176b15ac3f6a2eeeaa4648b1e00d
7
- data.tar.gz: ce1bc4b2c8de28ba26ea76edb8eb15f843a5a39df48346f92ab1f95e02f64000388a245ffb67ddda1c0ab03b543b9abdf652489f897ecb94c1a62130400a03e0
6
+ metadata.gz: 289a0cc3ed7396909282c549a04c0cd27abec6af8c799096f14e54db9bc37c6aa6f2c55d1813a7290d38991bf0d8ff9337123d0bb701539f35b6e696afe61011
7
+ data.tar.gz: be07fee45806c8d3092954e5212b62ff52a2d240a1d4661b752f9ee5d04c3891a441f30851dfcbcc12a12fa58e6004dd06555e51b53fe0cfa0af13768888126a
@@ -46,6 +46,18 @@
46
46
  alt: {{ post.title | slugify: "ascii"}}
47
47
  {% endif %}
48
48
  {% endresponsive_image_block %}
49
+ {% elsif post.image %}
50
+ {% capture image_path %}{{post.image | remove_first: '/'}}{% endcapture %}
51
+ {% capture full_path %}{{post.image }}{% endcapture %}
52
+ {% responsive_image_block %}
53
+ template: _includes/thumb.html
54
+ path: {{ image_path }}
55
+ fullpath: {{ full_path }}
56
+ {% if post.title %}
57
+ title: {{ post.title | slugify: "ascii"}}
58
+ alt: {{ post.title | slugify: "ascii"}}
59
+ {% endif %}
60
+ {% endresponsive_image_block %}
49
61
  {% else %}
50
62
  <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
51
63
  data-src="{{site.data.settings.placeholder}}" alt="{{post.title}}" class="img-responsive lazyload"/>
@@ -111,6 +123,18 @@
111
123
  alt: {{ post.title | slugify: "ascii"}}
112
124
  {% endif %}
113
125
  {% endresponsive_image_block %}
126
+ {% elsif post.image %}
127
+ {% capture image_path %}{{post.image | remove_first: '/' }}{% endcapture %}
128
+ {% capture full_path %}{{post.image }}{% endcapture %}
129
+ {% responsive_image_block %}
130
+ template: _includes/thumb.html
131
+ path: {{ image_path }}
132
+ fullpath: {{ full_path }}
133
+ {% if post.title %}
134
+ title: {{ post.title | slugify: "ascii"}}
135
+ alt: {{ post.title | slugify: "ascii"}}
136
+ {% endif %}
137
+ {% endresponsive_image_block %}
114
138
  {% else %}
115
139
  <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
116
140
  data-src="{{site.data.settings.placeholder}}" alt="{{post.title}}" class="img-responsive lazyload"/>
@@ -125,7 +149,6 @@
125
149
  {% endfor %}
126
150
  </div>
127
151
  </div>
128
-
129
152
  {% if site.data.settings.blog.sidebar.custom-include %}
130
153
  {% include {{site.data.settings.blog.sidebar.custom-include}} %}
131
154
  {% endif %}
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.2.3
4
+ version: 3.2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby