summaryrefslogtreecommitdiff
path: root/templates/page.html
blob: 2144e3550c8230d9666f23206f2c3eaad6ab88ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{% extends "index.html" %}
{% block title %}
	{{ config.title }} | {{ page.title }}
{% endblock title %}
{% block content %}
	<h1>{{ page.title }}</h1>
	{% for h1 in page.toc %}
	<ul>{% for h2 in h1.children %}
		<li><a href="{{ h2.permalink | safe }}">{{ h2.title }}</a>
		{% if h2.children %}
		<ul>{% for h3 in h2.children %}
		<li><a href="{{ h3.permalink | safe }}">{{ h3.title }}</a></li>
		{% endfor %}</ul>
		{% endif %}</li>
	{% endfor %}</ul>
	{% endfor %}
	{{ page.content | safe }}
{% endblock content %}