sandvich.xyz/layouts/shortcodes/video.html

11 lines
208 B
HTML
Raw Normal View History

2024-05-13 23:08:04 -07:00
<figure>
{{ with .Get "src" }}
<video controls src="{{ . }}"></video>
{{ end }}
{{- with $.Inner }}
<figcaption>
{{ . }}
</figcaption>
{{- end }}
</figure>