Browse Source

trying to get photo feed working again

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

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

@ -1,7 +1,9 @@
<span class="separator"> <span class="separator">
{{- range $index, $el := . -}} {{- range $index, $el := . -}}
<a href="{{printf (replace $ "-800." "-200.") ( . | urlize) | relLangURL }}"> <img class="p-photo" src="{{ printf "$s" ( . | urlize ) | relLangURL }}" /></a>
{{ $photo := $s }}
{{ $thumb := replace $photo "-800." "-200."}}
<a href="{{printf "$photo" ( . | urlize) | relLangURL }}"> <img class="p-photo" src="{{ printf "$thumb" ( . | urlize ) | relLangURL }}" /></a>
{{- end -}} {{- end -}}
</span> </span>