You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
784 B
HTML
28 lines
784 B
HTML
{{ $align := .Get "align" }}
|
|
{{ $caption := .Get 0 | default (.Get "caption") }}
|
|
{{ $content := .Inner | replaceRE "^\n" "" | replaceRE "\n$" "" }}
|
|
{{ $float := .Get "float" }}
|
|
{{ $height := .Get "height" }}
|
|
{{ $justify := .Get "justify" }}
|
|
{{ $maxheight := .Get "maxheight" }}
|
|
{{ $maxwidth := .Get "maxwidth" }}
|
|
{{ $number := .Get "number" }}
|
|
{{ $numbered := .Get "numbered" }}
|
|
{{ $width := .Get "width" }}
|
|
|
|
{{ $content = printf `<blockquote class="blockquote mb-0">%v</blockquote>` $content }}
|
|
|
|
{{ partial "paige/figure.html" (dict
|
|
"align" $align
|
|
"caption" $caption
|
|
"content" $content
|
|
"float" $float
|
|
"height" $height
|
|
"justify" $justify
|
|
"maxheight" $maxheight
|
|
"maxwidth" $maxwidth
|
|
"number" $number
|
|
"numbered" $numbered
|
|
"width" $width
|
|
) }}
|