{{ partial "header.html" . }} {{ partial "navbar.html" . }} {{ $promobackgroundimagename := .Param "image" }} {{ $promobackgroundimagelocation := (printf "%s/%s" "images/groups/" $promobackgroundimagename) }} {{ $promobackgroundimageresource := resources.Get $promobackgroundimagelocation }} {{ $promobackgroundimage := $promobackgroundimageresource.Resize "1440x820 webp" }} {{ .Param "promo.header" }} {{ range (.Param "promo.p") }} {{ . | safeHTML }} {{ end }} {{ range (.Data.Pages.ByParam "wgtype").Reverse }} {{ $imagename := .Param "image" }} {{ $imagelocation := (printf "%s/%s" "images/" $imagename) }} {{ $imageresource := resources.Get $imagelocation }} {{ if $imageresource }} {{ $image := $imageresource.Fit "390x390 webp" }} {{ end }} {{ .Title }} {{ end }} {{ partial "footer.html" . }}
{{ . | safeHTML }}