{% for item in items %}
  • {{ item.title }} {% if item.get_descendant_count %}
      {% for child in item.get_children %}
    • {{ child.title }}
    • {% endfor %}
    {% endif %}
  • {% endfor %}