{{ $img := (.Resources.ByType "image").GetMatch "*tn*" }} {{ with $img }} {{ $big := .Fill "768x512 top" }} {{ $small := .Fill "384x256 top" }} {{ $.Description }} {{replace $.Params.name "-" " "}} {{ end }}