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" }}


to|src string

Generate a URL to this relative path string.

absolute boolean

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

Betterify this page on Github!