2023-07-04 02:37:44 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2023-09-09 19:20:39 +02:00
|
|
|
{% block content %}
|
2023-07-04 02:37:44 +02: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-09-29 05:22:02 +02:00
|
|
|
<address rel="author">By <span class="metaData">{{config.extra.author}}</span></address>
|
2023-07-04 02:37:44 +02:00
|
|
|
<h1>{{ page.title }}</h1>
|
|
|
|
|
|
|
|
{% if page.toc and page.extra.toc %}
|
|
|
|
<h2>Table of contents</h2>
|
|
|
|
<ul>
|
2023-09-29 05:22:02 +02:00
|
|
|
{% for h1 in page.toc %}
|
2023-07-04 02:37:44 +02:00
|
|
|
<li>
|
2023-09-29 05:22:02 +02:00
|
|
|
<a href="{{ h1.permalink | safe }}">{{ h1.title }}</a>
|
|
|
|
{% if h1.children %}
|
2023-07-04 02:37:44 +02:00
|
|
|
<ul>
|
|
|
|
{% for h2 in h1.children %}
|
2023-09-29 05:22:02 +02:00
|
|
|
<li>
|
2023-07-04 02:37:44 +02:00
|
|
|
<a href="{{ h2.permalink | safe }}">{{ h2.title }}</a>
|
2023-09-29 05:22:02 +02:00
|
|
|
<ul>
|
2023-07-04 02:37:44 +02:00
|
|
|
{% for h3 in h2.children %}
|
2023-09-29 05:22:02 +02:00
|
|
|
<li>
|
2023-07-04 02:37:44 +02:00
|
|
|
<a href="{{ h3.permalink | safe }}">{{ h3.title }}</a>
|
2023-09-29 05:22:02 +02:00
|
|
|
</li>
|
2023-07-04 02:37:44 +02:00
|
|
|
{% endfor %}
|
2023-09-29 05:22:02 +02:00
|
|
|
</ul>
|
|
|
|
</li>
|
2023-07-04 02:37:44 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2023-09-29 05:22:02 +02:00
|
|
|
{% endif %}
|
2023-07-04 02:37:44 +02:00
|
|
|
</li>
|
2023-09-29 05:22:02 +02:00
|
|
|
{% endfor %}
|
2023-07-04 02:37:44 +02:00
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{{ page.content | safe }}
|
|
|
|
|
|
|
|
<p class="tagsData">
|
2023-09-29 05:22:02 +02:00
|
|
|
{% if page.taxonomies.tags %}
|
|
|
|
{% for tag in page.taxonomies.tags %}
|
|
|
|
<a href="/tags/{{ tag | slugify }}">/{{ tag }}/</a>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2023-07-04 02:37:44 +02:00
|
|
|
</p>
|
2023-09-09 19:20:39 +02:00
|
|
|
{% endblock content %}
|