Sha256: a46144c1011439a9450add978b58e3feeae335e53816cd54e5a3f39cef42b822

Contents?: true

Size: 1.87 KB

Versions: 2

Compression:

Stored size: 1.87 KB

Contents

---
layout: mini
---

{% assign setup   = site.setup | prepend: 'setup-' %}
{% assign layout  = page.layout | prepend: ' layout-' %}
{% assign type    = page.type | prepend: ' type-' %}
{% assign book    = page.collection | prepend: ' book-' %}
{% assign chapter = page.chapter | replace: ' ','-' | prepend: ' chapter-' | downcase %}
{% assign topic   = page.title | prepend: ' topic-' | downcase %}

<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: 'en' }}" class="no-js">

  {% include html/head.liquid %}

  <body class="{{ setup }}{{ layout }}{{ type }}{% if page.collection %}{{ book }}{% endif %}{% if page.chapter %}{{ chapter }}{% endif %}{% if page.topic %}{{ topic }}{% endif %}">

    {% include html/overlay.liquid title='load' state='open' %}
    {% include html/overlay.liquid title='mobile' %}
    {% include html/overlay.liquid title='about' %}
    {% include html/overlay.liquid title='browse' %}
    {% include html/overlay.liquid title='search' %}

    <div class="site _feed">

      {% if site.header %}
      <header>
        {{ site.header }}
      </header>
      {% endif %}

      {% include html/page/topbar.liquid %}

      {% if page.type == 'book' %}

      {% assign loop = site[page.collection] | sort: 'weight' %}
      {% include html/filter/loop.liquid type='book' %}

      {% elsif page.type == 'chapter' %}

      {% assign loop = site[page.collection] | where: 'chapter', page.chapter | sort: 'weight' %}
      {% include html/filter/loop.liquid type='chapter' %}

      {% elsif page.type == 'topic' %}

      {% assign loop = site[page.collection] | where: 'topic', page.topic | sort: 'weight' %}
        {% include html/filter/loop.liquid type='topic' %}
      {% endif %}

      {% if site.footer %}
      <footer>
        {{ site.footer }}
      </footer>
      {% endif %}

    </div>

  </body>

  {% include html/scripts.liquid %}

</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
futuro-0.3.0 _layouts/feed.html
futuro-0.2.9 _layouts/feed.html