Linklist
From Shopify Wiki
A linklist is a collection of links (see link).
A brand new shop has one linklist for the Main Menu, and another for the Footer, and both of these cannot be deleted. You can add linklists to your shop. You edit your linklists, and create new ones, on the Navigation page in your shop admin.
For instance, you can create a linklist called "Audio Equipment" and add to it links to three collections: "Headphones", "Hifi Systems" and "Speakers".
<ul>
{% for link in linklists.audio-equipment.links %}
<li>{{ link.title | link_to: link.url }}</li>
{% endfor %}
</ul>
In this example we list all links of the linklist called "Audio Equipment" which handle is "audio-equipment".
The liquid variable linklist has the following attributes:
Contents |
linklist.id
Returns the id of this linklist
linklist.title
Returns the title of this linklist
linklist.handle
Returns the handle of this linklist
linklist.links
Returns a collection of this linklist's links. See link.


