diff --git a/templates/macros.html b/templates/macros.html
index f10d52e..81aefd3 100644
--- a/templates/macros.html
+++ b/templates/macros.html
@@ -34,6 +34,27 @@
{% endif %}
{% endmacro %}
+{% macro toc() %}
+ {% if page.toc %}
+
+ {% for h1 in page.toc %}
+ -
+ {{ h1.title }}
+ {% if h1.children %}
+
+ {% endif %}
+
+ {% endfor %}
+
+ {% endif %}
+{% endmacro %}
+
{% macro list_taxonomy(kind, page=false, prepend="") %}
{#
Option `kind` must always be set and specifies the wanted taxonomy.
diff --git a/templates/page.html b/templates/page.html
index 2ea0240..8ef4f68 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -6,6 +6,7 @@
{% block content %}
{{ page.title }}
+ {{ macros::toc() }}
{{ page.content | safe }}
{{ macros::page_info(page=page) }}
{% endblock content %}