• {% if parent.categories %} {% comment %}This is when the current menu has children.{% endcomment %}
    {{parent.title}}
      {% for child in parent.categories %}
    • {{child.title}}
    • {%endfor%}
    {% else %} {% comment %}This is for the case when the current menu has NO children.{% endcomment %} {{parent.title}} {% endif %}