Skip to content

link_to

An <a> tag.

text | link_to: url, title
Name Type Description
url (required) string Link target.
title string title attribute.

html

Liquid
{{ 'Shop abayas' | link_to: '/collections/abayas' }}
Output
<a href="/collections/abayas">Shop abayas</a>

Shopify: Same as Shopify.

Since theme platform 1.0.

Was this page helpful?