1. Home
  2. Liquid
  3. Absolute url
#liquid#url

Creates an absolute path url. The path will include the value of the "url" and "baseurl" settings from the _config.yml file.

{{ "/assets/app.js" | absolute_url }}
// Returns https://shortcode.dev/assets/app.js
copy
Full Liquid cheatsheet
Sitemap Git repository