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