Rename align, justify params to horizontal, vertical

This commit is contained in:
Will Faught
2023-01-22 16:08:57 -08:00
parent 93428e20e3
commit 290cf41423
8 changed files with 63 additions and 127 deletions

View File

@@ -1,9 +1,8 @@
{{ $align := .Get "align" }}
{{ $alt := .Get "alt" }}
{{ $caption := .Get "caption" }}
{{ $float := .Get "float" }}
{{ $height := .Get "height" }}
{{ $justify := .Get "justify" }}
{{ $horizontal := .Get "horizontal" }}
{{ $link := .Get "link" }}
{{ $maxheight := .Get "maxheight" }}
{{ $maxwidth := .Get "maxwidth" }}
@@ -14,16 +13,16 @@
{{ $raw := .Get "raw" }}
{{ $src := .Get 0 | default (.Get "src") }}
{{ $title := .Get "title" }}
{{ $vertical := .Get "vertical" }}
{{ $width := .Get "width" }}
{{ partial "paige/image-figure.html" (dict
"align" $align
"alt" $alt
"caption" $caption
"float" $float
"gap" 2
"height" $height
"justify" $justify
"horizontal" $horizontal
"link" $link
"maxheight" $maxheight
"maxwidth" $maxwidth
@@ -34,5 +33,6 @@
"raw" $raw
"src" $src
"title" $title
"vertical" $vertical
"width" $width
) }}