{% from 'snippets/page-detail.jinja' import showDetail with context %}
{% from 'snippets/page-front.jinja' import pageFront with context %}
{% from 'snippets/page-circuit.jinja'  import showCircuit with context %}


{%- macro showCoverPage(chapter, documents, index)  -%}

    <header class="page--cover">

         <section class="meta">
            <span data-chapter-title>{{chapter['title']}}</span>
        </section>
        <h3>Chapter {{index}}</h3>
        <h1>{{chapter['title']}}</h1>
    </header>
{%- endmacro -%}
