Linklist objects are called "menus" on the navigation page of the shop admin.

The linklist object has the following attributes:

Returns the handle of the linklist.

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

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

Returns the title of the linklist.