Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Taking your approach on designing things actually makes it fun, more natural, and overall easier.

— Dominik, Developer

is_video

A boolean for whether the asset is an video.

{{ if is_video }}
<video controls>
<source src="{{ url }}" type="video/mp4">
Sorry, your browser doesn't support embedded videos.
</video>
{{ else }}
<a href="{{ url }}">Download</a>
{{ /if }}
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →