diff --git a/blog/templates/page.html b/blog/templates/page.html index 57534203..6cc5fc57 100644 --- a/blog/templates/page.html +++ b/blog/templates/page.html @@ -11,22 +11,16 @@ + {% for h2 in page.toc %}
  • + {{ h2.title }} + {% if h2.children %}
      + {% for h3 in h2.children %}
    1. + {{ h3.title }} +
    2. {% endfor %} +
    {% endif %} +
  • {% endfor %} + + {{ page.content | safe }} {% endblock main %}