mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-13 20:05:58 -06:00
14 lines
331 B
HTML
14 lines
331 B
HTML
{{ $border := false }}
|
|
{{ if .Get "border" }}
|
|
{{ $border = true }}
|
|
{{ end }}
|
|
|
|
{{ $hidecaption := false }}
|
|
{{ if .Get "hidecaption" }}
|
|
{{ $hidecaption = true }}
|
|
{{ end }}
|
|
|
|
<p>
|
|
{{ partial "remote_figure.html" (dict "src" (.Get "src") "border" $border "hidecaption" $hidecaption "type" "video" "alt" (.Get "alt")) }}
|
|
</p>
|