diff --git a/templates/menu/menu.html.twig b/templates/menu/menu.html.twig index cbc5be8..7cfd3af 100644 --- a/templates/menu/menu.html.twig +++ b/templates/menu/menu.html.twig @@ -21,15 +21,15 @@ We call a macro which calls itself to render the full tree. @see http://twig.sensiolabs.org/doc/tags/macro.html #} -{{ menus.menu_links(items, attributes, 0) }} +{{ menus.menu_links(items, attributes, 0, menu_name) }} -{% macro menu_links(items, attributes, menu_level) %} +{% macro menu_links(items, attributes, menu_level, menu_name) %} {% import _self as menus %} {% if items %} {% if menu_level == 0 %} -