{% load wagtailadmin_tags %} {% for page, children in nodes %}
  • {{ page.title }} {% if children %}
    {% endif %}
  • {% endfor %}