bobatheme/layouts/shortcodes/video.html

14 lines
331 B
HTML
Raw Permalink Normal View History

2021-10-30 00:23:49 -05:00
{{ $border := false }}
{{ if .Get "border" }}
{{ $border = true }}
2021-10-30 00:23:49 -05:00
{{ end }}
{{ $hidecaption := false }}
{{ if .Get "hidecaption" }}
{{ $hidecaption = true }}
2021-10-30 00:23:49 -05:00
{{ end }}
<p>
{{ partial "remote_figure.html" (dict "src" (.Get "src") "border" $border "hidecaption" $hidecaption "type" "video" "alt" (.Get "alt")) }}
</p>