{% macro _toc_tree_inner(toc) -%} {%- endmacro %} {% macro toc_tree(toc) -%} {# This ignores H1s #} {% for toc_item in toc %} {{ _toc_tree_inner(toc_item.children) }} {% endfor %} {%- endmacro %} {% macro nav_tree(nav) -%} {%- endmacro %}

Navigation