2025-12-05 16:46:03 +01:00
|
|
|
{{- /* Shared render for spec pages: title, optional description, endpoints list, body, and last-mod info. */ -}}
|
|
|
|
|
<div class="td-content">
|
|
|
|
|
<h1>{{ .Title }}</h1>
|
2025-12-05 16:47:08 +01:00
|
|
|
{{ with .Params.description }}<p class="page-description">{{ . | markdownify }}</p>{{ end }}
|
|
|
|
|
|
2025-12-18 12:00:56 +01:00
|
|
|
{{/*
|
|
|
|
|
Render an endpoints table of contents. This is the main difference
|
|
|
|
|
between our templates (which call the spec-content partial) and the default
|
|
|
|
|
Docsy template.
|
|
|
|
|
*/}}
|
2025-12-05 16:46:03 +01:00
|
|
|
{{ partial "endpoints-toc.html" . }}
|
|
|
|
|
|
|
|
|
|
{{ .Content }}
|
2025-12-18 12:00:56 +01:00
|
|
|
</div>
|