Description
Return the image tag of a theme image.
Syntax
{{ <path_to_a_theme_image> | theme_image_tag(: <options>) }}
Example
{{ 'banner.png' | theme_image_tag: 'alt:hello world' }}
outputs
<img src="/sites/<site_id>/theme/images/banner.png" alt="hello world" />
Options
Name | Type | Description |
---|---|---|
alt | String | |
title | String |