Sha256: 253ac63246dd5e5088fbc1deadb873719d5e5853427ccaaebe300061af020a37

Contents?: true

Size: 661 Bytes

Versions: 6

Compression:

Stored size: 661 Bytes

Contents

{% assign feature_text = page.feature_text %}
{% assign feature_image = page.feature_image %}
{% if page.collection and page.is_page %}
  {% assign collectiondata = site.collections | where: "label", page.collection | first %}
  {% assign feature_text = collectiondata.feature_text %}
  {% assign feature_image = collectiondata.feature_image %}
{% endif %}

{% if feature_text or feature_image %}
  <div class="feature"{% if feature_image %} style="background-image: url({{ feature_image }})"{% endif %}>
    {% if feature_text %}
      <div class="container  typeset">
        {{ feature_text | markdownify }}
      </div>
    {% endif %}
  </div>
{% endif %}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
alembic-jekyll-theme-0.1.1 _includes/site-feature.html
alembic-jekyll-theme-0.1.0 _includes/site-feature.html
alembic-jekyll-theme-0.0.9 _includes/site-feature.html
alembic-jekyll-theme-0.0.8 _includes/site-feature.html
alembic-jekyll-theme-0.0.7 _includes/site-feature.html
alembic-jekyll-theme-0.0.6 _includes/site-feature.html