Browse Source

trying to get photo feed working again

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

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

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