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.
32 lines
692 B
HTML
32 lines
692 B
HTML
{{ $alt := .Get "alt" }}
|
|
{{ $link := .Get "link" }}
|
|
{{ $height := .Get "height" }}
|
|
{{ $method := .Get "method" }}
|
|
{{ $options := .Get "options" }}
|
|
{{ $raw := .Get "raw" }}
|
|
{{ $src := .Get 0 | default (.Get "src") }}
|
|
{{ $title := .Get "title" }}
|
|
{{ $width := .Get "width" }}
|
|
|
|
{{ $content := partial "paige/img.html" (dict
|
|
"alt" $alt
|
|
"class" "img-fluid"
|
|
"height" $height
|
|
"method" $method
|
|
"options" $options
|
|
"page" .Page
|
|
"raw" $raw
|
|
"src" $src
|
|
"title" $title
|
|
"width" $width
|
|
) }}
|
|
|
|
{{ if $link }}
|
|
{{ $content = partial "paige/a.html" (dict
|
|
"content" $content
|
|
"href" $link
|
|
) }}
|
|
{{ end }}
|
|
|
|
<div class="paige-image">{{ $content }}</div>
|