---
updatedAt: 2025-04-23T20:19:05.000Z
agentTools:
  projectIndex: https://shopline-layout.readme.io/llms.txt
---

# 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.         |

***

### 用例

```liquid Input
{% for link in linklists.main-menu.links %}
  <a href="{{ link.url }}">
    {{ link.title }}
  </a>
{% endfor %}
```
```html Output
<a href="/">Home</a>
<a href="/collections/all">Catalog</a>
<a href="/blogs/news">Blog</a>
<a href="/pages/about-us">About Us</a>
```

***