2023-07-04 01:37:44 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
2023-09-09 18:20:39 +01:00
|
|
|
<h1>{{ page.title }}</h1>
|
2023-07-04 01:37:44 +01:00
|
|
|
|
|
|
|
{% if page.toc and page.extra.toc %}
|
|
|
|
<h2>Table of contents</h2>
|
|
|
|
<ul>
|
|
|
|
{% for h1 in page.toc %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ h1.permalink | safe }}">{{ h1.title }}</a>
|
|
|
|
{% if h1.children %}
|
|
|
|
<ul>
|
|
|
|
{% for h2 in h1.children %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ h2.permalink | safe }}">{{ h2.title }}</a>
|
|
|
|
<ul>
|
|
|
|
{% for h3 in h2.children %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ h3.permalink | safe }}">{{ h3.title }}</a>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{{ page.content | safe }}
|
|
|
|
|
|
|
|
<p class="tagsData">
|
|
|
|
{% if page.taxonomies.tags %}
|
|
|
|
{% for tag in page.taxonomies.tags %}
|
2023-08-28 15:20:15 +01:00
|
|
|
<a href="/tags/{{ tag | slugify }}">/{{ tag }}/</a>
|
2023-07-04 01:37:44 +01:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
2023-09-09 18:20:39 +01:00
|
|
|
{% endblock content %}
|