Skip to Content

Linklist

The linklist object describes a list of navigation links, including its handle, title, and contained links.

Usage Example

{%- comment -%} Render a navigation linklist {%- endcomment -%} <nav> <ul> {% for link in linklist.links %} <li><a href="{{ link.url }}">{{ link.title }}</a></li> {% endfor %} </ul> </nav>

Properties

handle

Returns the handle.

levels

Returns the total amount of leves in this linklist.

Returns the links in this list.

title

Returns the title.