{{ .Title }}

{{ if .Content }}
{{.Content}}
{{ else }}
    {{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode }}
{{ end }}
{{ define "section-tree-nav" }} {{ $showvisitedlinks := .showvisitedlinks }} {{ $currentNode := .currentnode }} {{with .sect}} {{safeHTML .Params.head}} {{ $fileUniqueID := "" }} {{ with .File }}{{ $fileUniqueID = .UniqueID }}{{ end }} {{ $currentNodeFileUniqueID := "" }} {{ with $currentNode.File }}{{ $currentNodeFileUniqueID = .UniqueID }}{{ end }}
  • {{safeHTML .Params.Pre}}{{or .Params.menuTitle .LinkTitle .Title}}{{safeHTML .Params.Post}} {{ $numberOfPages := (add (len .Pages) (len .Sections)) }} {{ if ne $numberOfPages 0 }} {{ end }}
  • {{ end }} {{ end }}