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.

46 lines
956 B
HTML

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