mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-27 11:28:38 +01:00
We needed to override Docsy's default page renderers to show it. Because the Client-Server API uses a different render chain than the other endpoint pages, we have to override two of Docsy's pages (`content.html` and `single.html`). In order to reduce duplication, we then put the shared content into a `spec-content.html` partial.
4 lines
68 B
HTML
4 lines
68 B
HTML
{{ define "main" }}
|
|
{{ partial "spec-content.html" . }}
|
|
{{ end }}
|