diff --git a/layouts/shortcodes/paige/gallery.html b/layouts/shortcodes/paige/gallery.html
index 0258577d..c245305b 100644
--- a/layouts/shortcodes/paige/gallery.html
+++ b/layouts/shortcodes/paige/gallery.html
@@ -70,23 +70,21 @@
{{ . }}
{{ else }}
{{ range $resources }}
-
- {{ partial "paige/image.html" (dict
- "breakpoints" $breakpoints
- "class" $class
- "densities" $densities
- "fetchpriority" $fetchpriority
- "height" $height
- "linked" $linked
- "loading" $loading
- "maxheight" $maxheight
- "maxwidth" $maxwidth
- "process" $process
- "resource" .
- "style" (print $style "; height: auto; max-width: 100%")
- "width" $width
- ) }}
-
+ {{ partial "paige/image.html" (dict
+ "breakpoints" $breakpoints
+ "class" $class
+ "densities" $densities
+ "fetchpriority" $fetchpriority
+ "height" $height
+ "linked" $linked
+ "loading" $loading
+ "maxheight" $maxheight
+ "maxwidth" $maxwidth
+ "process" $process
+ "resource" .
+ "style" (print $style "; height: auto; max-width: 100%")
+ "width" $width
+ ) }}
{{ end }}
{{ end }}