Add align param

This commit is contained in:
Will Faught
2023-01-15 21:43:13 -08:00
parent c578d235d2
commit ec03a86297
9 changed files with 87 additions and 204 deletions

View File

@@ -1,3 +1,4 @@
{{ $align := .Get "align" }}
{{ $caption := .Get 0 | default (.Get "caption") }}
{{ $float := .Get "float" }}
{{ $height := .Get "height" }}
@@ -8,6 +9,7 @@
{{ $content := .Inner }}
{{ partial "paige/figure.html" (dict
"align" $align
"caption" $caption
"content" $content
"float" $float