{% for page in pages %}
  • {{ page.title }}
  • {% if page.subpages %} {% with pages=page.subpages %} {% include 'cms/recursive_nav.html' %} {% endwith %} {% endif %} {% endfor %}