Sha256: 11ae06a72a9f4047d15d00bcd58612ac829ec9f9f29a2b48012f3d5607ed8e3b

Contents?: true

Size: 1.81 KB

Versions: 1

Compression:

Stored size: 1.81 KB

Contents

---
layout: mini
---

{% include html/assign.liquid %}
{% assign topic = page.title | replace: ' ','-' | prepend: ' topic-' | downcase %}

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

  {% include html/head/meta.liquid %}

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

    {% 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/footer/scripts.liquid %}

</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
futuro-0.7.4 _layouts/feed.html