{% for page in nav %}
  • {{ page.nav_title }}
  • {% if page.subpages %} {% with nav=page.subpages %} {% include 'cms/example_templates/nav.html' %} {% endwith %} {% endif %} {% endfor %}