{{ define "main" }} {{- $isDoc := eq .Section "docs" }}
{{- if $isDoc }}{{ partial "docs-nav.html" . }}{{ end }}

{{ .Title }}

{{- with .Description }}

{{ . }}

{{ end }} {{ .Content }}
{{- if ge (len .Fragments.Headings) 1 }} {{- with .TableOfContents }} {{- end }} {{- end }}
{{ end }}