Skip to main content

Menus

Returns a Menu object for each visible menus.

Example

This will return all the menu items from the menu having the handle main.

<ul>
{% for item in menus.main.items %}
<li><a href="{{ item.url }}">{{ item.title }}</a></li>
{% endfor %}
</ul>

Available attributes

NameTypeDescription
allCollectioncollection of all menus
menu-handle*Menureturns the menu matching the given handle