{% macro loop(page) %} {% for p in page.children %} {% if p.visible %} {% set current_page = (p.active or p.activeChild) ? 'active' : '' %}
  • {% if p.header.icon %}{% endif %} {{ p.menu }} {% if p.children.count > 0 %} {% endif %}
  • {% endif %} {% endfor %} {% endmacro %}