diff --git a/agaric/templates/navigation/menu.html.twig b/agaric/templates/navigation/menu.html.twig index 523fd8a..249a4a7 100644 --- a/agaric/templates/navigation/menu.html.twig +++ b/agaric/templates/navigation/menu.html.twig @@ -31,8 +31,9 @@ https://gitlab.com/agaric/sites/agaric-com/issues/77 #} {{ menus.menu_links(items, attributes, 0, menu_name) }} -{% set submenu_attributes = create_attribute() %} {% macro menu_links(items, attributes, menu_level, menu_name) %} + {% set submenu_attributes = create_attribute() %} + {% set link_attributes = create_attribute().addClass('navbar-item') %} {% import _self as menus %} {% set submenu_classes = [ 'navbar-item', @@ -44,7 +45,7 @@