84 lines
2.3 KiB
Django/Jinja
84 lines
2.3 KiB
Django/Jinja
{% 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 %}
|
|
{% from 'snippets/pages-nest.jinja' import showNestedPages with context %}
|
|
{% from 'snippets/page-cover.jinja' import showCoverPage with context %}
|
|
|
|
{% extends "base.jinja" %}
|
|
|
|
{% block content %}
|
|
<section template-type="front">
|
|
<section class="meta">
|
|
{% if documents["meta"] %}
|
|
<span data-generated-date>{{documents["meta"]["now"]}}</span>
|
|
{% endif %}
|
|
<span data-publication-title>{{page['title']}}</span>
|
|
</section>
|
|
<header>
|
|
<h2>A field guide to</h2>
|
|
<h1>Salvaging Sound Devices</h1>
|
|
<h3>Version {{documents['meta']['version']}} | generated on {{documents["meta"]["now"]}} </h3>
|
|
<h5>Rosa Schuurmans</h5>
|
|
|
|
|
|
</header>
|
|
|
|
<footer>
|
|
<p>Thesis submitted to: the Department of [Experimental Publishing or Lens-Based Media],
|
|
Piet Zwart Institute, Willem de Kooning Academy,
|
|
in partial fulfilment of the requirements for the final examination for the degree of:
|
|
Master of Arts in Fine Art & Design: [Experimental Publishing or Lens-Based Media].
|
|
</p>
|
|
<p>
|
|
Adviser: Marloes de Valk <br>
|
|
Second Reader: Aymeric Mansoux <br>
|
|
Word count: {{documents['meta']['count']}} words
|
|
</p>
|
|
</footer>
|
|
</section>
|
|
|
|
{% if page["body"] | length > 10 %}
|
|
<section template-type="chapter">
|
|
<article>
|
|
{{page['body'] | shortcode}}
|
|
</article>
|
|
</section>
|
|
{% endif %}
|
|
|
|
{% for chapter in documents['chapters'] %}
|
|
{% if chapter["type"] == "toc" %}
|
|
<section template-type="toc">
|
|
{{chapter['body'] | shortcode}}
|
|
</section>
|
|
{% elif chapter['title']|lower != 'index' %}
|
|
<section template-type="chapter">
|
|
|
|
{% if chapter['front'] %}
|
|
{{ showCoverPage(chapter, documents, loop.inex0) }}
|
|
{% endif %}
|
|
<article>
|
|
{% if not chapter['front'] %}
|
|
<section class="meta">
|
|
<span data-chapter-title>{{chapter['title']}}</span>
|
|
</section>
|
|
{% endif %}
|
|
<header>
|
|
<h1>{{chapter['title']}}</h1>
|
|
</header>
|
|
{{chapter['body'] | shortcode}}
|
|
</article>
|
|
</section>
|
|
|
|
{{ showNestedPages(chapter, documents) }}
|
|
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
|
<span template-type="bib"></span>
|
|
{% endblock %}
|
|
|
|
{% block aside %} {% endblock %}
|