diff --git a/source/_patterns/04-components/menu/menu.twig b/source/_patterns/04-components/menu/menu.twig index bcf7493ec9ec87fb58521f49a0008d3a6161c4a9..970c2a5f2d8915bdf48cf2451b1ba0e108a11c5a 100644 --- a/source/_patterns/04-components/menu/menu.twig +++ b/source/_patterns/04-components/menu/menu.twig @@ -61,7 +61,13 @@ } %} <li {{ add_attributes(additional_item_attributes) }}> - <a href="{{ item.url }}" {{ add_attributes(link_attributes) }}>{{ item.text }}</a> + <a href="{{ item.url }}" {{ add_attributes(link_attributes) }}> + {% if item.title %} + {{ item.title }} + {% elseif item.text %} + {{ item.text }} + {% endif %} + </a> {% if item.submenu %} {{ menus.menu_links(item.submenu, attributes, menu_level + 1) }} {% endif %}