From 2bf22a5a23af5a43b29bc3b6feb480c6a26435da Mon Sep 17 00:00:00 2001 From: jk Date: Wed, 6 May 2020 10:37:21 +0100 Subject: [PATCH] trying to get photo feed working again --- themes/anatole/layouts/partials/taxonomy/photo.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/anatole/layouts/partials/taxonomy/photo.html b/themes/anatole/layouts/partials/taxonomy/photo.html index 9ec087d6..bbc1dcaf 100644 --- a/themes/anatole/layouts/partials/taxonomy/photo.html +++ b/themes/anatole/layouts/partials/taxonomy/photo.html @@ -1,7 +1,8 @@ {{- range $index, $el := . -}} -{{ $thumbnail := slice .Params.thumbnail }} - +{{ $thumbnails := slice .Params.thumbnail }} +{{ $thumnail = index $thumbnails 0}} + {{- end -}}