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.

52 lines
1.1 KiB
HTML

{{ $alt := .alt }}
{{ $caption := .caption }}
{{ $compact := .compact }}
{{ $float := .float }}
{{ $height := .height }}
{{ $link := .link }}
{{ $maxheight := .maxheight }}
{{ $maxwidth := .maxwidth }}
{{ $method := .method }}
{{ $number := .number }}
{{ $numbered := .numbered }}
{{ $options := .options }}
{{ $page := .page }}
{{ $raw := .raw }}
{{ $resource := .resource }}
{{ $src := .src }}
{{ $table := .table }}
{{ $title := .title }}
{{ $width := .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
"maxheight" $maxheight
"maxwidth" $maxwidth
"number" $number
"numbered" $numbered
"width" $width
) }}