2023-07-04 01:37:44 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2023-09-09 18:20:39 +01:00
|
|
|
{% block content %}
|
2023-07-04 01:37:44 +01:00
|
|
|
<div><a href="..">..</a>/<span class="metaData">{{ page.slug }}</span></div>
|
|
|
|
<time datetime="{{ page.date }}">Published on: <span class="metaData">{{ page.date }}</span></time>
|
2023-10-03 16:56:08 +01:00
|
|
|
{% if config.extra.author and config.extra.display_author == true %}
|
2023-09-29 04:22:02 +01:00
|
|
|
<address rel="author">By <span class="metaData">{{config.extra.author}}</span></address>
|
2023-10-03 16:56:08 +01:00
|
|
|
{% endif %}
|
2023-07-04 01:37:44 +01:00
|
|
|
<h1>{{ page.title }}</h1>
|
|
|
|
|
|
|
|
{% if page.toc and page.extra.toc %}
|
|
|
|
<h2>Table of contents</h2>
|
|
|
|
<ul>
|
2023-09-29 04:22:02 +01:00
|
|
|
{% for h1 in page.toc %}
|
2023-07-04 01:37:44 +01:00
|
|
|
<li>
|
2023-09-29 04:22:02 +01:00
|
|
|
<a href="{{ h1.permalink | safe }}">{{ h1.title }}</a>
|
|
|
|
{% if h1.children %}
|
2023-07-04 01:37:44 +01:00
|
|
|
<ul>
|
|
|
|
{% for h2 in h1.children %}
|
2023-09-29 04:22:02 +01:00
|
|
|
<li>
|
2023-07-04 01:37:44 +01:00
|
|
|
<a href="{{ h2.permalink | safe }}">{{ h2.title }}</a>
|
2023-09-29 04:22:02 +01:00
|
|
|
<ul>
|
2023-07-04 01:37:44 +01:00
|
|
|
{% for h3 in h2.children %}
|
2023-09-29 04:22:02 +01:00
|
|
|
<li>
|
2023-07-04 01:37:44 +01:00
|
|
|
<a href="{{ h3.permalink | safe }}">{{ h3.title }}</a>
|
2023-09-29 04:22:02 +01:00
|
|
|
</li>
|
2023-07-04 01:37:44 +01:00
|
|
|
{% endfor %}
|
2023-09-29 04:22:02 +01:00
|
|
|
</ul>
|
|
|
|
</li>
|
2023-07-04 01:37:44 +01:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2023-09-29 04:22:02 +01:00
|
|
|
{% endif %}
|
2023-07-04 01:37:44 +01:00
|
|
|
</li>
|
2023-09-29 04:22:02 +01:00
|
|
|
{% endfor %}
|
2023-07-04 01:37:44 +01:00
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{{ page.content | safe }}
|
|
|
|
|
|
|
|
<p class="tagsData">
|
2023-09-29 04:22:02 +01:00
|
|
|
{% if page.taxonomies.tags %}
|
|
|
|
{% for tag in page.taxonomies.tags %}
|
|
|
|
<a href="/tags/{{ tag | slugify }}">/{{ tag }}/</a>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2023-07-04 01:37:44 +01:00
|
|
|
</p>
|
2023-09-09 18:20:39 +01:00
|
|
|
{% endblock content %}
|