Browse Source

trying to get photo feed working again

master
jk 5 years ago
parent
commit
7bcb28da2b
  1. 3
      themes/anatole/layouts/partials/taxonomy/photo.html

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

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