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,4 +1,5 @@
{{ $caption := .Get "caption" }}
{{ $float := .Get "float" }}
{{ $lang := .Get 0 | default (.Get "lang") | default "plaintext" }}
{{ $options := .Get "options" }}
@@ -7,4 +8,5 @@
{{ partial "paige/figure.html" (dict
"caption" $caption
"content" $content
"float" $float
) }}