{% macro loop(page) %} {% for p in page.children.visible %}
  • {% if p.children.visible.count > 0 %} {% if p.header.icon %}{% endif %} {{ p.menu }} {% else %} {% if p.header.icon %}{% endif %} {{ p.menu }} {% endif %} {% if p.children.visible.count > 0 %} {% endif %}
  • {% endfor %} {% endmacro %}