{{/* Page anatomy: in-page section headers (docs/design-system.md ยง6; spec page-anatomy "Section headers are uniform"). Pipeline: server.SectionHeader. sectionHeader titles a section outside the box its content sits in (h2.h5, optional muted count or one action). sectionSummary is the same header as the of a native
, for a secondary section that opens on demand; the count rides in parentheses so the closed disclosure still says how much it holds. */}} {{ define "sectionHeader" }}

{{ .Title }}

{{ if .Action }}{{ .Action.Label }}{{ else if .Count }}{{ .Count }}{{ end }}
{{ end }} {{ define "sectionSummary" }}

{{ .Title }}{{ if .Count }} ({{ .Count }}){{ end }}

{{ end }}