Move content param with other params
This commit is contained in:
@@ -1,13 +1,12 @@
|
|||||||
{{ $align := .Get "align" }}
|
{{ $align := .Get "align" }}
|
||||||
{{ $caption := .Get 0 | default (.Get "caption") }}
|
{{ $caption := .Get 0 | default (.Get "caption") }}
|
||||||
|
{{ $content := .Inner | markdownify }}
|
||||||
{{ $float := .Get "float" }}
|
{{ $float := .Get "float" }}
|
||||||
{{ $height := .Get "height" }}
|
{{ $height := .Get "height" }}
|
||||||
{{ $maxheight := .Get "maxheight" }}
|
{{ $maxheight := .Get "maxheight" }}
|
||||||
{{ $maxwidth := .Get "maxwidth" }}
|
{{ $maxwidth := .Get "maxwidth" }}
|
||||||
{{ $width := .Get "width" }}
|
{{ $width := .Get "width" }}
|
||||||
|
|
||||||
{{ $content := .Inner }}
|
|
||||||
|
|
||||||
{{ partial "paige/figure.html" (dict
|
{{ partial "paige/figure.html" (dict
|
||||||
"align" $align
|
"align" $align
|
||||||
"caption" $caption
|
"caption" $caption
|
||||||
|
Reference in New Issue
Block a user