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