hugo-theme-readable/layouts/shortcodes/video.html

9 lines
213 B
HTML
Raw Normal View History

<figure>
<video controls>
<source src="{{ .Get "source" }}" type="{{ .Get "type" }}">
</video>
{{ if .Get "caption" }}
<figcaption>{{ .Get "caption" }}</figcaption>
{{ end }}
</figure>