Remove video and add remote-figure shortcodes

This commit is contained in:
2023-01-21 21:32:02 -06:00
parent 47d6d02186
commit a4be8b395b
3 changed files with 2 additions and 20 deletions

View File

@ -0,0 +1,13 @@
{{ $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" (.Get "type") "alt" (.Get "alt")) }}
</p>