Browse Source

trying to get photo feed working again

master
jk 5 years ago
parent
commit
e6e84a4f89
  1. 4
      themes/anatole/layouts/partials/taxonomy/photo.html

4
themes/anatole/layouts/partials/taxonomy/photo.html

@ -1,7 +1,7 @@
<span class="separator">
{{- range $index, $el := . -}}
{{ $thumbnail = index .Params.thumbnail $el }}
<img class="p-photo" src="{{ printf "$thumbnail" ( . | urlize ) | relLangURL }}" />
{{ $thumbnail := slice .Params.thumbnail }}
<img class="p-photo" src="{{ printf "index $thumbnail 0" ( . | urlize ) | relLangURL }}" />
{{- end -}}
</span>