Add float param to shortcodes

This commit is contained in:
Will Faught
2023-01-12 22:30:54 -08:00
parent 92a3166625
commit 03790e5bb0
11 changed files with 201 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
{{ $alt := .Get "alt" }}
{{ $caption := .Get "caption" }}
{{ $float := .Get "float" }}
{{ $height := .Get "height" }}
{{ $link := .Get "link" }}
{{ $maxheight := .Get "maxheight" }}
@@ -13,6 +14,7 @@
{{ partial "paige/image-figure.html" (dict
"alt" $alt
"caption" $caption
"float" $float
"height" $height
"link" $link
"maxheight" $maxheight