{% if page.toc %}
Page content
    {% for h1 in page.toc %}
  1. {{ h1.title }} {% if h1.children %}
      {% for h2 in h1.children %}
    • {{ h2.title }}
    • {% endfor %}
    {% endif %}
  2. {% endfor %}
{% endif %}
{% if page.earlier or page.later or page.lighter or page.heavier or page.pages %} {% include "partials/doc/pagination.html" %} {% elif page.ancestors and page.ancestors | length == 3 %} {% include "partials/doc/pagination.html" %} {% endif %}