On This Page

    {% if page.toc %} {% with roottoc = page.toc | list %} {% with toc = roottoc if roottoc | length > 1 else roottoc[0].children %} {% for h2 in toc %}
  • {{ h2.title }} {% if h2.children %} {% endif %}
  • {% endfor %} {% endwith %} {% endwith %} {% endif %}