diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html index 86dd22c..fde6de3 100644 --- a/layouts/shortcodes/video.html +++ b/layouts/shortcodes/video.html @@ -1,3 +1,33 @@ - +{{ $h265 := .Get "h265" }} +{{ $h264 := .Get "h264" }} +{{ $vp9 := .Get "vp9" }} +{{ $vp8 := .Get "vp8" }} +{{ $caption := .Get "caption" }} +{{ $attr := .Get "attr" }} +{{ $attrlink := .Get "attrlink" }} +
+ + {{ if or $caption $attr }} +
+ {{ if $caption }} +

{{ . }}

+ {{ end }} +

+ {{ if $attrlink }}{{ end }}{{ $attr }}{{ if $attrlink }}{{ end }} +

+
+ {{ end }} +