-
-
+ {{ with $gallery.Resources.ByType "image" }}
+ {{ $index := len . }}
+ {{ $.Scratch.Add "img" slice }}
+ {{ range . }}
+ {{ $index = sub $index 1}}
+ {{ $.Scratch.Add "img" (dict "link" .RelPermalink "height" .Height "width" .Width) }}
+
+
+
+ {{ end }}
+
{{ end }}
-