{{- /* Shared platform grid — home page and the /platformy/ hub. Single source of truth: data/families.yaml (group order/labels) + content/platformy/*.md. ONE uniform grid for all platforms (auto-fill → every card is the same width; a single-card family no longer stretches full-width). Each card: the body is a link to the platform guide, plus one direct-download button. Param `compact` (home) drops the family headers for a clean picker; the hub (compact:false) keeps headers — they span the whole grid row so the card tracks stay uniform across groups. */ -}} {{- $compact := .compact | default false -}} {{- $platforms := where site.RegularPages "Section" "platformy" -}}
{{- range hugo.Data.families -}} {{- $fam := . -}} {{- $inFam := where $platforms "Params.familyKey" $fam.key -}} {{- with $inFam }} {{- if not $compact }}

{{ $fam.icon }} {{ $fam.label }}

{{ $fam.blurb }}

{{- end }} {{- range .ByWeight }} {{- $key := .File.BaseFileName }} {{ .Params.icon }} {{ .Title }} {{ .Params.sub }} Pobierz {{- end }} {{- end }} {{- end }}