Filters

inline_asset_content

value | inline_asset_content

The contents of an asset, inlined into the page. For small SVGs and critical CSS, where a second request costs more than the bytes.

Example

{{ 'icon-phone.svg' | inline_asset_content }}