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.
26 lines
744 B
HTML
26 lines
744 B
HTML
{{ $caption := .Get 0 | default (.Get "caption") }}
|
|
{{ $content := .Inner | replaceRE "^\n" "" | replaceRE "\n$" "" }}
|
|
{{ $float := .Get "float" }}
|
|
{{ $height := .Get "height" }}
|
|
{{ $horizontal := .Get "horizontal" }}
|
|
{{ $maxwidth := .Get "maxwidth" }}
|
|
{{ $number := .Get "number" }}
|
|
{{ $numbered := .Get "numbered" }}
|
|
{{ $vertical := .Get "vertical" }}
|
|
{{ $width := .Get "width" }}
|
|
|
|
{{ $content = printf `<blockquote class="blockquote mb-0">%v</blockquote>` $content }}
|
|
|
|
{{ partial "paige/figure.html" (dict
|
|
"caption" $caption
|
|
"content" $content
|
|
"float" $float
|
|
"height" $height
|
|
"horizontal" $horizontal
|
|
"maxwidth" $maxwidth
|
|
"number" $number
|
|
"numbered" $numbered
|
|
"vertical" $vertical
|
|
"width" $width
|
|
) }}
|