{{ .Title }}

{{/* Only show description in header for section index pages */}} {{ if not (isset .Params "tag") }} {{ with .Description }}

{{ . }}

{{ end }} {{ end }}
{{ $hasTag := isset .Params "tag" }} {{ if not $hasTag }} {{/* SECTION INDEX - Show intro content then tag-based children */}} {{ with .Content }}
{{ . }}
{{ end }} {{ partial "api/section-children.html" . }} {{ else }} {{/* TAG PAGE - Show operations or conceptual content */}} {{ $isConceptual := .Params.isConceptual | default false }} {{ if $isConceptual }}
{{ with .Content }} {{ . }} {{ else }} {{ with .Params.tagDescription }}{{ . | markdownify }}{{ end }} {{ end }}
{{ else }} {{/* Operational Page - Show all operations */}} {{/* Download OpenAPI spec button — uses specDownloadPath from frontmatter */}} {{ with .Params.specDownloadPath }} {{ end }} {{/* Hugo page content if any (for custom intro content) */}} {{ with .Content }}
{{ . }}
{{ end }} {{/* Render operations using Hugo-native templates */}} {{ with .Params.staticFilePath }}
{{ partial "api/tag-renderer.html" $ }}
{{ end }} {{ end }} {{ end }} {{ partial "article/related.html" . }}