|
|
@ -24,22 +24,39 @@
|
|
|
|
{{ $link = $resource.RelPermalink }}
|
|
|
|
{{ $link = $resource.RelPermalink }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{ partial "paige/image-figure.html" (dict
|
|
|
|
{{ if $caption }}
|
|
|
|
"caption" $caption
|
|
|
|
{{ partial "paige/image-figure.html" (dict
|
|
|
|
"compact" true
|
|
|
|
"caption" $caption
|
|
|
|
"height" $height
|
|
|
|
"compact" true
|
|
|
|
"link" $link
|
|
|
|
"height" $height
|
|
|
|
"maxheight" $maxheight
|
|
|
|
"link" $link
|
|
|
|
"maxwidth" $maxwidth
|
|
|
|
"maxheight" $maxheight
|
|
|
|
"method" $method
|
|
|
|
"maxwidth" $maxwidth
|
|
|
|
"options" $options
|
|
|
|
"method" $method
|
|
|
|
"page" .Page
|
|
|
|
"options" $options
|
|
|
|
"raw" $raw
|
|
|
|
"page" .Page
|
|
|
|
"resource" $resource
|
|
|
|
"raw" $raw
|
|
|
|
"src" $image
|
|
|
|
"resource" $resource
|
|
|
|
"table" true
|
|
|
|
"src" $image
|
|
|
|
"width" $width
|
|
|
|
"table" true
|
|
|
|
) }}
|
|
|
|
"width" $width
|
|
|
|
|
|
|
|
) }}
|
|
|
|
|
|
|
|
{{ else }}
|
|
|
|
|
|
|
|
{{ partial "paige/a.html" (dict
|
|
|
|
|
|
|
|
"content" (partial "paige/img.html" (dict
|
|
|
|
|
|
|
|
"class" "img-fluid"
|
|
|
|
|
|
|
|
"height" $height
|
|
|
|
|
|
|
|
"maxheight" $maxheight
|
|
|
|
|
|
|
|
"maxwidth" $maxwidth
|
|
|
|
|
|
|
|
"method" $method
|
|
|
|
|
|
|
|
"options" $options
|
|
|
|
|
|
|
|
"resource" $resource
|
|
|
|
|
|
|
|
"src" $image
|
|
|
|
|
|
|
|
"width" $width
|
|
|
|
|
|
|
|
))
|
|
|
|
|
|
|
|
"href" $link
|
|
|
|
|
|
|
|
) }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
{{ else }}
|
|
|
|
{{ else }}
|
|
|
|
{{ $inner := chomp .Inner }}
|
|
|
|
{{ $inner := chomp .Inner }}
|
|
|
|
|
|
|
|
|
|
|
|