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