{{ define "main" }}
{{ $source := ($.Resources.ByType "image").GetMatch "{*feature*,*cover*,*thumbnail*}" }} {{ with $source }} {{ with $.Resources.GetMatch (replace (.Title) (path.Ext (.Title)) ".webp") }} {{ end }} {{ $featured := .Fill (printf "950x285 %s" (default "Smart" .Params.anchor)) }} {{ default $.Title .Params.description }} {{ end }}

{{ partial "title" . }}

{{ partial "content" . }} {{ with $source }} {{ if .Params.credits }} {{ end }} {{ end }}
{{ end }}