Interested in sponsoring this lovely little spot?

is_image

A boolean for whether the asset is an image.

{{ if is_image }}
<img src="{{ url }}" />
{{ else }}
<a href="{{ url }}">Download</a>
{{ /if }}
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →