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

Creates a relative path url. The path will include the value of the "baseurl" setting from the _config.yml file if set.

 {{  "/assets/app.js" | relative_url }}
copy
Full Liquid cheatsheet
Sitemap Git repository