mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-27 11:28:38 +01:00
19 lines
616 B
HTML
19 lines
616 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.
|
|
|
|
The contents of the "main" block below are inserted into the `./baseof.html`
|
|
base template.
|
|
|
|
*/}}
|
|
{{ define "main" }}
|
|
{{ partial "spec-content.html" . }}
|
|
{{ end }} |