Sha256: 58bfc13448f6905ddbdd6cc37eb9ad2fd3f0c9a608c0dbed69138d2ccd4be217

Contents?: true

Size: 1.89 KB

Versions: 11

Compression:

Stored size: 1.89 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' exit='false' state='open' %}
    {% include html/overlay.liquid title='mobile' exit='false' %}
    {% 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

11 entries across 11 versions & 1 rubygems

Version Path
futuro-0.4.1 _layouts/feed.html
futuro-0.4.0 _layouts/feed.html
futuro-0.3.9 _layouts/feed.html
futuro-0.3.8 _layouts/feed.html
futuro-0.3.7 _layouts/feed.html
futuro-0.3.6 _layouts/feed.html
futuro-0.3.5 _layouts/feed.html
futuro-0.3.4 _layouts/feed.html
futuro-0.3.3 _layouts/feed.html
futuro-0.3.2 _layouts/feed.html
futuro-0.3.1 _layouts/feed.html