asset
Usage
The | asset
filter generates a URL for an asset using the current scheme of the request (HTTP or HTTPS):
{{ 'img/photo.jpg' | asset }}
{# or #}
{{ asset('img/photo.jpg') }}
See the Asset helper method for more information.
Copyright © 2024 Winter CMS