{% macro subtree(sec) %} {% for subsection in sec.subsections | sort %} {% set subsection_item = get_section(path=subsection) %}