---
layout: mini
---
{%- include html/assign/site.liquid -%}
{%- include {{ SiteLayout | append : 'header.liquid' }} type="feed" -%}
{%- if LayoutIsBook -%}
{%- assign loop = site[page.collection] | sort: 'weight' -%}
{%- include {{ Site | append : 'scroller.liquid' }} -%}
{%- include {{ SiteLayout | append : 'loop.liquid' }} type='book' -%}
{%- elsif LayoutIsChapter -%}
{%- assign loop = site[page.collection] | where: 'chapter', page.chapter | sort: 'weight' -%}
{%- include {{ SiteLayout | append : 'loop.liquid' }} type='chapter' -%}
{%- elsif LayoutIsTopic -%}
{%- assign loop = site[page.collection] | where: 'topic', page.topic | sort: 'weight' -%}
{%- include {{ SiteLayout | append : 'loop.liquid' }} type='topic' chapter=page.chapter -%}
{%- endif -%}
{%- include {{ SiteLayout | append : 'footer.liquid' }} -%}