asset_url - Liquid Filter Reference - 1.0.0
| Filter Name | asset_url | 
| Group | Theme | 
| Version | 1.0.0 | 
Description
Returns the url of an asset in the theme
Examples
{{ 'images/hedgehog' | asset_url }}
https://example.com/hedgehog.jpg
When the asset does not exist:
{{ 'images/unknown' | asset_url }}
unknown asset: images/unknown
Back to Liquid Reference for 1.0.0
Back to Documentation