diff --git a/themes/red/layouts/_default/gallery.html b/themes/red/layouts/_default/gallery.html index 5916ff8..898d8b8 100644 --- a/themes/red/layouts/_default/gallery.html +++ b/themes/red/layouts/_default/gallery.html @@ -10,20 +10,20 @@

{{ .year }}

{{ range .pieces }} -
- {{ $full := resources.Get (printf "%s/%s" ($.Param "json") .filename) }} +
+ {{ $full := resources.Get (printf "%s/%s" ($.Param "json") .filename) }} - - {{ if $.Params.thumbnails }} - {{ $thumb := resources.Get (printf "%s-thumbs/%s" ($.Param "json") .filename) }} - - {{ else }} - - {{ end }} - + + {{ if $.Params.thumbnails }} + {{ $thumb := resources.Get (printf "%s-thumbs/%s" ($.Param "json") .filename) }} + {{ .title }} + {{ else }} + {{ .title }} + {{ end }} + -
"{{ .title }}"
-
+
"{{ .title }}"
+
{{ end }} {{ end }} {{ end }}