{{ $border := false }} {{ if .Get "border" }} {{ $border = true }} {{ end }} {{ $hidecaption := false }} {{ if .Get "hidecaption" }} {{ $hidecaption = true }} {{ end }}
{{ partial "remote_figure.html" (dict "src" (.Get "src") "border" $border "hidecaption" $hidecaption "type" (.Get "type") "alt" (.Get "alt")) }}