{{/* For operation pages, show method badge with title */}} {{ with .Params.method }}
{{ upper . }}

{{ $.Title }}

{{ with $.Params.path }} {{ . }} {{ end }} {{ else }}

{{ .Title }}

{{ end }} {{/* Summary/Description - skip for conceptual pages (shown in content section) */}} {{ if not (.Params.isConceptual | default false) }} {{ with .Params.summary }}

{{ . | markdownify }}

{{ else }} {{ with .Description }}

{{ . | markdownify }}

{{ end }} {{ end }} {{ end }}
{{/* Download OpenAPI spec button */}} {{ with .Params.staticFilePath }} {{ end }}
{{ $isConceptual := .Params.isConceptual | default false }} {{ if $isConceptual }} {{/* Conceptual Page - Show content directly */}}
{{ with .Content }} {{ . }} {{ else }} {{ with .Params.tagDescription }} {{ . | markdownify }} {{ end }} {{ end }}
{{ else }} {{/* Operation Page - RapiDoc with custom slots */}} {{/* Hugo page content shown as overview */}} {{ with .Content }}
{{ . }}
{{ end }} {{/* RapiDoc renderer with slot-based customization */}} {{ with .Params.staticFilePath }}
{{ partial "api/rapidoc.html" $ }}
{{ end }} {{ end }} {{/* Related documentation links */}} {{ partial "article/related.html" . }}