{{ with (.Site.GetPage "/headless/main/performance-by-design") }} {{ .Params.tagline }} {{ .Params.title }} {{ .Params.subtitle }} {{/* Slider layout: visible only below md */}} {{ range $index, $feature := .Params.features }} {{ $feature.title }} {{ $feature.description }} {{ end }} {{ range $index, $feature := .Params.features }} {{ if $feature.image }} {{ partial "picture" (dict "src" $feature.image.src "alt" $feature.image.alt "loading" "lazy" "decoding" "async") }} {{ end }} {{ end }} {{/* Card grid: visible from md up, 2 cards per row */}} {{ range .Params.features }} {{ if .image }} {{ partial "picture" (dict "src" .image.src "alt" .image.alt "class" "performance-by-design__card-image" "loading" "lazy" "decoding" "async") }} {{ end }} {{ .title }} {{ .description }} {{ end }} {{ end }}
{{ .Params.subtitle }}
{{ $feature.description }}
{{ .description }}