{% for root in children %} {% if root.children %}
  • {{ root.title }}
  • {% else %}
  • {{ root.title }}
  • {% endif %} {% endfor %}