Browse Source

trying to get photo feed working again

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

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

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