Remove col div from gallery grid type

master
Will Faught 2 years ago
parent 75c6905f57
commit c1c619ffc6

@ -70,23 +70,21 @@
{{ . }} {{ . }}
{{ else }} {{ else }}
{{ range $resources }} {{ range $resources }}
<div class="col"> {{ partial "paige/image.html" (dict
{{ partial "paige/image.html" (dict "breakpoints" $breakpoints
"breakpoints" $breakpoints "class" $class
"class" $class "densities" $densities
"densities" $densities "fetchpriority" $fetchpriority
"fetchpriority" $fetchpriority "height" $height
"height" $height "linked" $linked
"linked" $linked "loading" $loading
"loading" $loading "maxheight" $maxheight
"maxheight" $maxheight "maxwidth" $maxwidth
"maxwidth" $maxwidth "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 ) }}
) }}
</div>
{{ end }} {{ end }}
{{ end }} {{ end }}
</div> </div>

Loading…
Cancel
Save