|
|
@ -10,6 +10,7 @@
|
|
|
|
{{ $loading := .Get "loading" }}
|
|
|
|
{{ $loading := .Get "loading" }}
|
|
|
|
{{ $maxheight := .Get "maxheight" }}
|
|
|
|
{{ $maxheight := .Get "maxheight" }}
|
|
|
|
{{ $maxwidth := .Get "maxwidth" }}
|
|
|
|
{{ $maxwidth := .Get "maxwidth" }}
|
|
|
|
|
|
|
|
{{ $page := .Page }}
|
|
|
|
{{ $process := .Get "process" }}
|
|
|
|
{{ $process := .Get "process" }}
|
|
|
|
{{ $style := .Get "style" }}
|
|
|
|
{{ $style := .Get "style" }}
|
|
|
|
{{ $type := .Get "type" | default "rows" }}
|
|
|
|
{{ $type := .Get "type" | default "rows" }}
|
|
|
@ -38,6 +39,8 @@
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{/* The markup below cannot be indented due to Markdown. */}}
|
|
|
|
|
|
|
|
|
|
|
|
<div class="paige-gallery">
|
|
|
|
<div class="paige-gallery">
|
|
|
|
{{ if eq $type "filled-rows" }}
|
|
|
|
{{ if eq $type "filled-rows" }}
|
|
|
|
<div class="align-items-{{ $align }} column-gap-3 d-flex flex-wrap justify-content-{{ $justify }} row-gap-3">
|
|
|
|
<div class="align-items-{{ $align }} column-gap-3 d-flex flex-wrap justify-content-{{ $justify }} row-gap-3">
|
|
|
@ -45,7 +48,7 @@
|
|
|
|
{{ . }}
|
|
|
|
{{ . }}
|
|
|
|
{{ else }}
|
|
|
|
{{ else }}
|
|
|
|
{{ range $resources }}
|
|
|
|
{{ range $resources }}
|
|
|
|
{{ partial "paige/image.html" (dict
|
|
|
|
{{- partial "paige/image.html" (dict
|
|
|
|
"breakpoints" $breakpoints
|
|
|
|
"breakpoints" $breakpoints
|
|
|
|
"class" $class
|
|
|
|
"class" $class
|
|
|
|
"densities" $densities
|
|
|
|
"densities" $densities
|
|
|
@ -55,11 +58,12 @@
|
|
|
|
"loading" $loading
|
|
|
|
"loading" $loading
|
|
|
|
"maxheight" $maxheight
|
|
|
|
"maxheight" $maxheight
|
|
|
|
"maxwidth" $maxwidth
|
|
|
|
"maxwidth" $maxwidth
|
|
|
|
|
|
|
|
"page" $page
|
|
|
|
"process" $process
|
|
|
|
"process" $process
|
|
|
|
"resource" .
|
|
|
|
"resource" .
|
|
|
|
"style" (print $style "; flex: 1 1 auto; object-fit: cover")
|
|
|
|
"style" (print $style "; flex: 1 1 auto; object-fit: cover")
|
|
|
|
"width" $width
|
|
|
|
"width" $width
|
|
|
|
) }}
|
|
|
|
) -}}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -70,7 +74,7 @@
|
|
|
|
{{ . }}
|
|
|
|
{{ . }}
|
|
|
|
{{ else }}
|
|
|
|
{{ else }}
|
|
|
|
{{ range $resources }}
|
|
|
|
{{ range $resources }}
|
|
|
|
{{ partial "paige/image.html" (dict
|
|
|
|
{{- partial "paige/image.html" (dict
|
|
|
|
"breakpoints" $breakpoints
|
|
|
|
"breakpoints" $breakpoints
|
|
|
|
"class" $class
|
|
|
|
"class" $class
|
|
|
|
"densities" $densities
|
|
|
|
"densities" $densities
|
|
|
@ -80,11 +84,12 @@
|
|
|
|
"loading" $loading
|
|
|
|
"loading" $loading
|
|
|
|
"maxheight" $maxheight
|
|
|
|
"maxheight" $maxheight
|
|
|
|
"maxwidth" $maxwidth
|
|
|
|
"maxwidth" $maxwidth
|
|
|
|
|
|
|
|
"page" $page
|
|
|
|
"process" $process
|
|
|
|
"process" $process
|
|
|
|
"resource" .
|
|
|
|
"resource" .
|
|
|
|
"style" (print $style "; height: auto; max-width: 100%")
|
|
|
|
"style" (print $style "; height: auto; max-width: 100%")
|
|
|
|
"width" $width
|
|
|
|
"width" $width
|
|
|
|
) }}
|
|
|
|
) -}}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -95,7 +100,7 @@
|
|
|
|
{{ . }}
|
|
|
|
{{ . }}
|
|
|
|
{{ else }}
|
|
|
|
{{ else }}
|
|
|
|
{{ range $resources }}
|
|
|
|
{{ range $resources }}
|
|
|
|
{{ partial "paige/image.html" (dict
|
|
|
|
{{- partial "paige/image.html" (dict
|
|
|
|
"breakpoints" $breakpoints
|
|
|
|
"breakpoints" $breakpoints
|
|
|
|
"class" $class
|
|
|
|
"class" $class
|
|
|
|
"densities" $densities
|
|
|
|
"densities" $densities
|
|
|
@ -105,11 +110,12 @@
|
|
|
|
"loading" $loading
|
|
|
|
"loading" $loading
|
|
|
|
"maxheight" $maxheight
|
|
|
|
"maxheight" $maxheight
|
|
|
|
"maxwidth" $maxwidth
|
|
|
|
"maxwidth" $maxwidth
|
|
|
|
|
|
|
|
"page" $page
|
|
|
|
"process" $process
|
|
|
|
"process" $process
|
|
|
|
"resource" .
|
|
|
|
"resource" .
|
|
|
|
"style" (print $style "; height: auto; max-width: 100%")
|
|
|
|
"style" (print $style "; height: auto; max-width: 100%")
|
|
|
|
"width" $width
|
|
|
|
"width" $width
|
|
|
|
) }}
|
|
|
|
) -}}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|