diff options
author | Prefetch | 2020-04-27 04:08:47 +0200 |
---|---|---|
committer | Prefetch | 2020-04-27 04:08:47 +0200 |
commit | c30193921ef3fa3e74d79030f50b456eb63a84f3 (patch) | |
tree | e93ef50161ba0369ac3e31026247b025eb35b87f /templates/page.html | |
parent | d7695acb4a70f5fb7cc9cce0b65c71fd3e0380aa (diff) |
Migrate to prefetch.eu etc.
Diffstat (limited to 'templates/page.html')
-rw-r--r-- | templates/page.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html index 8058656..2144e35 100644 --- a/templates/page.html +++ b/templates/page.html @@ -3,5 +3,16 @@ {{ 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 %} |