File size: 660 Bytes
b855ced
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{{/*

  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 }}