{{ define "main" }} {{ $path := .Params.image }} {{ with .Resources.GetMatch $path }} {{ $img := .Fill "460x260" }}