{{- range $index, $el := . -}} {{ $thumbnail := slice .Params.thumbnail }} {{- end -}}