Linklist objects are called "menus" on the navigation page of the shop admin.
The linklist object has the following attributes:
linklist.handle
Returns the handle of the linklist.
linklist.levels
Returns the number of nested levels a linklist contains.
Take this main menu structure:
Main menu
└ Home
└ About us
└ Locations
└ Luebeck
└ Hannover
This Liquid code:
{% assign menu = linklists.main-menu %}
{{ menu.title }}: {{ menu.levels }}
returns this output:
Main menu: 3
linklist.links
Returns an array of the links in the linklist.
{% for link in linklists.main-menu.links %}
{{ link.url }}
{% endfor %}
/
/collections/all
/blogs/news
/pages/about-us
linklist.title
Returns the title of the linklist.