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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/site-feature.html +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6bd815dc74387448ea4655f0677ffec278b35598
4
- data.tar.gz: 324115be18610d4575d0af258e210523d35c57f7
3
+ metadata.gz: 397f1dde6dc0cf9effe26cb69f07dcdc41362bed
4
+ data.tar.gz: d3c24e5b6f9a956c640a3b049956a1932c1c2de6
5
5
  SHA512:
6
- metadata.gz: cf66d6c1eba8be17f90158f61878edbf67782c60b27818dd2b912286b9a967e6e0498659ac406e4ad8ca25dc1109a20958b0e6f6fc143a64e6073725f5c254f5
7
- data.tar.gz: 9cbfbccaf6d1fd2cf58dd7564563e60cb6392dcc5a72b587f489b8bdc36304be3aa94dd262893d0344be6e84804e66c4901ecc6ec315e2e7c2898c1a0c92991d
6
+ metadata.gz: 975ae5fbc02fdf669c122007722331dafcb9dc9e87acc0fa7ef793d1b309d63e49513ca084e6ffabf88f7010d41c797af4454dc7d7002d08be4a1ea816fd51f6
7
+ data.tar.gz: acbbc798b6e78d5c29ad99ec91154bffb49c1c67f3f47133b87088e339a49a76d00ec764718f24fea7ce3055aa848eff2d215abb544dc5f4c220590f5e079f80
@@ -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 or collection %}
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">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alembic-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Darnes