mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
20 lines
660 B
HTML
20 lines
660 B
HTML
|
|
{{/*
|
||
|
|
|
||
|
|
Override the `layouts/docs/single.html` template from Docsy. While this template
|
||
|
|
is equivalent to `list.html`, it's necessary to override both templates to
|
||
|
|
avoid falling back to the default Docsy templates.
|
||
|
|
|
||
|
|
https://gohugo.io/templates/types/#single
|
||
|
|
|
||
|
|
We use this single template to render the all API spec pages *except* the
|
||
|
|
Client-Server API. The Client-Server API spec page contains modules, and thus
|
||
|
|
is handled separately, via the `layouts/docs/list.html` template.
|
||
|
|
|
||
|
|
The contents of the "main" block below are inserted into the `./baseof.html`
|
||
|
|
base template.
|
||
|
|
|
||
|
|
*/}}
|
||
|
|
{{ define "main" }}
|
||
|
|
{{ partial "spec-content.html" . }}
|
||
|
|
{{ end }}
|