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.
57 lines
1.3 KiB
HTML
57 lines
1.3 KiB
HTML
{{ $params := . }}
|
|
|
|
{{ $alt := $params.alt }}
|
|
{{ $caption := $params.caption }}
|
|
{{ $compact := $params.compact }}
|
|
{{ $float := $params.float }}
|
|
{{ $height := $params.height }}
|
|
{{ $horizontal := $params.horizontal }}
|
|
{{ $link := $params.link }}
|
|
{{ $maxheight := $params.maxheight }}
|
|
{{ $maxwidth := $params.maxwidth }}
|
|
{{ $method := $params.method }}
|
|
{{ $number := $params.number }}
|
|
{{ $numbered := $params.numbered }}
|
|
{{ $options := $params.options }}
|
|
{{ $page := $params.page }}
|
|
{{ $raw := $params.raw }}
|
|
{{ $resource := $params.resource }}
|
|
{{ $src := $params.src }}
|
|
{{ $title := $params.title }}
|
|
{{ $vertical := $params.vertical }}
|
|
{{ $width := $params.width }}
|
|
|
|
{{ $content := partial "paige/img.html" (dict
|
|
"alt" $alt
|
|
"class" "img-fluid"
|
|
"method" $method
|
|
"options" $options
|
|
"page" $page
|
|
"raw" $raw
|
|
"resource" $resource
|
|
"src" $src
|
|
"title" $title
|
|
) }}
|
|
|
|
{{ if $link }}
|
|
{{ $content = partial "paige/a.html" (dict
|
|
"content" $content
|
|
"href" $link
|
|
) }}
|
|
{{ end }}
|
|
|
|
{{ partial "paige/figure.html" (dict
|
|
"caption" $caption
|
|
"compact" $compact
|
|
"content" $content
|
|
"float" $float
|
|
"height" $height
|
|
"horizontal" $horizontal
|
|
"maxheight" $maxheight
|
|
"maxwidth" $maxwidth
|
|
"number" $number
|
|
"numbered" $numbered
|
|
"vertical" $vertical
|
|
"width" $width
|
|
) }}
|