{% macro nav_loop(page, hide_home_menu_link, home_alias) %} {% import _self as macros %} {% for p in page.children.visible %} {% set active_page = (p.active or p.activeChild) ? 'active' : '' %} {% if theme_var('dropdown.enabled') and p.children.visible.count > 0 %}