Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 316 Bytes

markup-filter-asset.md

File metadata and controls

13 lines (8 loc) · 316 Bytes

| asset

The asset filter (also available as a function, asset()) 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 Helpers#asset for more information.