{{/* Page anatomy: the page header (docs/design-system.md §6; spec page-anatomy "One title size and one header layout"). Pipeline: server.PageHeader. The only template that renders an

: one size (h1.h2), an optional back link above it (chrome-conventions "One back affordance"), an optional one-sentence lead below it, and one right-hand slot holding a muted count or one action control. Check() aborts the render when a page supplies both. Parsed into every set by web.ParseUIPartials. */}} {{ define "pageHeader" }}{{ .Check }}
{{ if .Back }}← Back to {{ .Back.Label }}{{ end }}

{{ .Title }}

{{ if .Lead }}

{{ .Lead }}

{{ end }}
{{ if .Action }}{{ .Action.Label }}{{ else if .Count }}{{ .Count }}{{ end }}
{{ end }}