{% for child in parent.categories %}
  • {% if child.categories %} {{child.title}} {% else %} {{child.title}} {% endif %}
  • {%endfor%}