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