mirror of
https://github.com/kemko/liquid.git
synced 2026-01-03 08:45:42 +03:00
1.1 KiB
1.1 KiB
layout, title, nav
| layout | title | nav | ||
|---|---|---|---|---|
| default | linklist |
|
linklist
The linklist object has the following attributes:
{% anchor_link "linklist.handle", "linklist-handle" %}
Returns the handle of the linklist.
{% anchor_link "linklist.id", "linklist-id" %}
Returns the id of the linklist.
{% anchor_link "linklist.links", "linklist-links" %}
Returns an array of links in the linklist.
Input
{% highlight html %}{% raw %}
{% for link in linklists.main-menu.links %}
{{ link.title }}
{% endfor %}
{% endraw %}{% endhighlight %}
Output
{% anchor_link "linklist.title", "linklist-title" %}
Returns the title of the linklist.