62 lines
1.9 KiB
Plaintext
Raw Normal View History

2025-02-16 13:52:06 +01:00
{% 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 %}
2025-02-15 10:19:38 +01:00
{% extends "base.jinja" %}
{% block content %}
2025-02-16 13:52:06 +01:00
<section template-type="front" jinja="thesis.jinja">
2025-02-15 10:19:38 +01:00
<section class="meta">
<span data-generated-date>{{documents["meta"]["now"]}}</span>
<span data-publication-title>{{page['title']}}</span>
</section>
<header>
<h2>A field guide to</h2>
<h1>Salvaging Sound Devices</h1>
2025-04-13 09:03:57 +02:00
<p>Version {{documents['meta']['version']}} | {{documents['meta']['count']}} words</p>
2025-02-15 10:19:38 +01:00
<p>{{documents["meta"]["now"]}}</p>
</header>
</section>
<section template-type="chapter">
<article>
{{page['body'] | shortcode}}
</article>
</section>
2025-03-09 20:58:44 +01:00
2025-02-16 13:52:06 +01:00
{% for chapter in documents['chapters'] %}
2025-04-12 11:07:56 +02:00
{% if chapter['title']|lower != 'index' %}
2025-02-16 13:52:06 +01:00
<section template-type="chapter">
2025-02-15 10:19:38 +01:00
2025-02-16 13:52:06 +01:00
{% if chapter['front'] %}
{{ showCoverPage(chapter, documents, loop.inex0) }}
2025-02-15 10:19:38 +01:00
{% endif %}
2025-02-16 13:52:06 +01:00
<article>
{% if not chapter['front'] %}
<section class="meta">
<span data-chapter-title>{{chapter['title']}}</span>
2025-02-15 10:19:38 +01:00
</section>
2025-02-16 13:52:06 +01:00
{% endif %}
2025-02-15 10:19:38 +01:00
<header>
2025-02-16 13:52:06 +01:00
<h1>{{chapter['title']}}</h1>
2025-02-15 10:19:38 +01:00
</header>
2025-02-16 13:52:06 +01:00
{{chapter['body'] | shortcode}}
</article>
</section>
{{ showNestedPages(chapter, documents) }}
2025-02-15 10:19:38 +01:00
2025-04-12 11:07:56 +02:00
{% endif %}
2025-02-15 10:19:38 +01:00
{% endfor %}
2025-03-01 16:38:05 +01:00
<span template-type="bib"></span>
2025-02-15 10:19:38 +01:00
{% endblock %}
{% block aside %} {% endblock %}