Skip to content

Asset Url

Returns the CDN URL for a file in the assets directory of a theme.

Example

liquid
{{ 'index.js' | asset_url }}