31 lines
786 B
HTML
31 lines
786 B
HTML
|
{% extends "base.html" %}
|
||
|
|
||
|
{% block content %}
|
||
|
<h2>{{ page.title }}</h2>
|
||
|
|
||
|
{% if page.toc and page.extra.toc %}<div align="center">
|
||
|
{% for h1 in page.toc %}
|
||
|
<div class="navtoc">
|
||
|
<a href="{{ h1.permalink | safe }}">{{ h1.title }}</a>
|
||
|
{% if h1.children %}
|
||
|
{% for h2 in h1.children %}
|
||
|
<a href="{{ h2.permalink | safe }}">{{ h2.title }}</a>
|
||
|
{% for h3 in h2.children %}
|
||
|
<a href="{{ h3.permalink | safe }}">{{ h3.title }}</a>
|
||
|
{% endfor %}
|
||
|
{% endfor %}
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
{% endfor %}
|
||
|
{% endif %}</div>
|
||
|
|
||
|
{{ page.content | safe }}
|
||
|
|
||
|
<p class="tagsData">
|
||
|
{% if page.taxonomies.tags %}
|
||
|
{% for tag in page.taxonomies.tags %}
|
||
|
<a href="/tags/{{ tag | slugify }}">/{{ tag }}/</a>
|
||
|
{% endfor %}
|
||
|
{% endif %}
|
||
|
</p>
|
||
|
{% endblock content %}
|