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.
- checksums.yaml +4 -4
- data/_includes/post-sidebar.html +24 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b339ddb75f83decde277cce4ff64de6008dac5207e4df1573c4ecced99d8568
|
|
4
|
+
data.tar.gz: 452767a0418a3a2801062ebea2c8aa7706aa3284c2721b931137cf22cf1c75d7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 289a0cc3ed7396909282c549a04c0cd27abec6af8c799096f14e54db9bc37c6aa6f2c55d1813a7290d38991bf0d8ff9337123d0bb701539f35b6e696afe61011
|
|
7
|
+
data.tar.gz: be07fee45806c8d3092954e5212b62ff52a2d240a1d4661b752f9ee5d04c3891a441f30851dfcbcc12a12fa58e6004dd06555e51b53fe0cfa0af13768888126a
|
data/_includes/post-sidebar.html
CHANGED
|
@@ -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 %}
|