{{ $img := .image }} {{ if .Resources.GetMatch .image }} {{ $img = .Resources.GetMatch .image }} {{ else if resources.GetMatch .image }} {{ $img = resources.GetMatch .image }} {{ end }} {{ $title := .title }} {{ $good_w := "1920"}} {{ $good_h := "850"}} {{ $banner := .context.Params.banner }} {{ $test := true }} {{ if and $img (ne $banner false) }} {{ $tiny := ($img.Resize "640x q90") }} {{ $small := ($img.Resize "768x q90") }} {{ $medium := ($img.Resize "10240x q90") }} {{ $large := ($img.Resize "1366x q90") }}
{{ else }} {{ end }}