1. Home
  2. Liquid
  3. Relative url

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

#liquid#url
 {{  "/assets/app.js" | relative_url }}
copy
Full Liquid cheatsheet