14 lines
360 B
HTML
14 lines
360 B
HTML
{{ define "content" }}
|
|
{{ with .Content }}
|
|
{{ partial "docs/content_page" (dict "ctx" $ "page" $) }}
|
|
{{ else }}
|
|
{{ if ge (len .Pages) 1 }}
|
|
{{ $page := index .Pages 0 }}
|
|
{{ partial "docs/content_page" (dict "ctx" $ "page" $page) }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ define "side-menu" }}
|
|
{{ partial "docs/side-menu.html" . }}
|
|
{{ end }}
|