{% extends "base.html" %} {% import "macros/macros.html" as macros %} {%- block content %}
{{- macros::title(page=page) }} {{ page.content | safe }} {%- block page_footer %} {{- macros::footer(page=page) }} {%- endblock page_footer %}
{%- block toc %} {%- if page.extra.toc %} {%- set toc = page.toc %} {%- endif %} {%- if toc %}

Index

{%- for h in toc %} {%- if h.children %} {%- for h2 in h.children %} {%- endfor %} {%- endif %} {%- endfor %}
{%- endif %} {%- endblock toc %} {%- endblock content %}