{{ menu }}

Properties

string object_type
Will always be "menu".
true/false is_valid
Indicates whether or not this references a menu.
guid guid
text field name
string value
Synonymn for guid.
html output
The default output that the menu would produce if it were output directly to the template.
html output_in_list
The default output that the menu would produce if it were output directly to the template from inside a list.
list items
A list containing all of the top-level menu items in the current menu.

Examples

Simple code sample to output a link for all of the top-level menu items in the current menu:

{% for item in menu %} <a href="{{ item.href }}">{{ item.name }}</a> {% endfor %}

Developer Overview

Liquid Markup