{{ $img := .Page.Resources.GetMatch .Destination }} {{ with $img }} {{ $large := $img.Resize "1200x" }} {{ $medium := $large.Fill "726x402" }} {{ $small := $medium.Fill "458x254" }} {{ with $.Title | safeHTML }}{{ . }}{{ end }} {{ else }} {{ end }}