alembic-jekyll-theme 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/site-feature.html +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 397f1dde6dc0cf9effe26cb69f07dcdc41362bed
|
4
|
+
data.tar.gz: d3c24e5b6f9a956c640a3b049956a1932c1c2de6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 975ae5fbc02fdf669c122007722331dafcb9dc9e87acc0fa7ef793d1b309d63e49513ca084e6ffabf88f7010d41c797af4454dc7d7002d08be4a1ea816fd51f6
|
7
|
+
data.tar.gz: acbbc798b6e78d5c29ad99ec91154bffb49c1c67f3f47133b87088e339a49a76d00ec764718f24fea7ce3055aa848eff2d215abb544dc5f4c220590f5e079f80
|
data/_includes/site-feature.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{% assign feature_text = page.feature_text %}
|
2
2
|
{% assign feature_image = page.feature_image %}
|
3
|
-
{% if page.collection %}
|
3
|
+
{% if page.collection and page.is_page %}
|
4
4
|
{% assign collectiondata = site.collections | where: "label", page.collection | first %}
|
5
5
|
{% assign feature_text = collectiondata.feature_text %}
|
6
6
|
{% assign feature_image = collectiondata.feature_image %}
|
7
7
|
{% endif %}
|
8
8
|
|
9
|
-
{% if feature_text or feature_image
|
9
|
+
{% if feature_text or feature_image %}
|
10
10
|
<div class="feature"{% if feature_image %} style="background-image: url({{ feature_image }})"{% endif %}>
|
11
11
|
{% if feature_text %}
|
12
12
|
<div class="container typeset">
|