asset_url
Returns the url of an asset inside the assets folder of your theme.
Input:
{{ "css/style.css" | asset_url }}Output:
/theme/assets/css/style.css
Returns the url of an asset inside the assets folder of your theme.
Input:
{{ "css/style.css" | asset_url }}Output:
/theme/assets/css/style.css