Skip to content
Snippets Groups Projects
Commit 364a2906 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-3380: fixing more of the menu twig

parent e7908c75
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,13 @@ ...@@ -61,7 +61,13 @@
} %} } %}
<li {{ add_attributes(additional_item_attributes) }}> <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 %} {% if item.submenu %}
{{ menus.menu_links(item.submenu, attributes, menu_level + 1) }} {{ menus.menu_links(item.submenu, attributes, menu_level + 1) }}
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment