Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

For a software dev like me who has no idea how to create a cute hand-drawn dashed line, this course just 100% works.

— Ira Zayats, Developer

Link Tag

Generate fully qualified URLs with the option to include your domain.


You can create a fully qualified URL to any resource, asset, or page on your site using a path relative string.

For example, if you had a link to <a href="fanny-packs">, it would be broken if you left that relative area of the site. By using the link tag you can ensure it's relative to your site root, and include the domain if needed.

{{ link to="fanny-packs" }}
{{ link to="fanny-packs" absolute="true" }}

You can also link to entries using their ID directly:

{{ link id="1715c9a8-0662-4ca7-b9ea-1ad642431fae" }}

When using Multi-Site, the URL automatically links to the entry on the current site. If you want to link to a specific site instead, you can add the in parameter:

{{ link id="1715c9a8-0662-4ca7-b9ea-1ad642431fae" in="spanish" }}




Generate a URL to this relative path string.



Make the URL absolute if it isn't already. Default: false.



ID of the entry to link to.



Handle of the site you want to link to (only when using Multi-Site).

Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →