|
|
@ -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> |