{{ $sectionTitle := .Scratch.Get "sectionTitle" }} {{ with (index .Site.Data.landing $sectionTitle) }} {{ if eq .enable true }}
{{ with .image }} {{ $path := .path | default "images" }} {{ $filename := .filename }} {{ $alt := .alt | default "feature image (right)" }} {{ $path := printf "%s/%s" $path $filename }} {{ with $filename }}
{{ with $image := resources.Get $path }} {{ if eq .MediaType.SubType "svg" }} {{ .Content | safeHTML }} {{ else }} {{ with .Resize (printf "%dx%d webp q85 drawing Lanczos" .Width .Height) }} {{ $alt }} {{ end }} {{ end }} {{ end }}
{{ end }} {{ end }}
{{ with .title }}

{{ . }}

{{ end }} {{ with .subtitle }}

{{ . | markdownify }}

{{ end }} {{ if .list }}
    {{ range .list }}
  • {{ .icon }}{{ .text | markdownify }}
  • {{ end }}
{{ end }} {{ with .ctaButton }} {{ end }}
{{ end }} {{ end }}