linklist
The linklist
object contains following attributes:
Object Fields
Field | Data Type | Description |
---|---|---|
linklist.handle | String | Returns the handle of the linklist. |
linklist.links | Array | Returns an array of links in the linklist. |
linklist.title | String | Returns the title of the linklist. |
用例
{% for link in linklists.main-menu.links %}
<a href="{{ link.url }}">
{{ link.title }}
</a>
{% endfor %}
<a href="/">Home</a>
<a href="/collections/all">Catalog</a>
<a href="/blogs/news">Blog</a>
<a href="/pages/about-us">About Us</a>
Updated about 1 year ago