<figure> <video class="video-shortcode" preload='auto' controls> <source src='{{ .Get "src" }}' type='video/mp4'> There should have been a video here but your browser does not seem to support it. </video> {{ with .Get "caption"}} <figcaption> <h4>{{ . }}</h4> </figcaption> {{ end }} </figure>