{{ "" | safeHTML }}
    {{ $currentNode := . }} {{ i18n "Back-home"}} {{range .Site.Home.Sections.ByWeight}} {{ if eq .FirstSection $currentNode.FirstSection }} {{/* print current section only */}} {{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode}} {{ end }} {{ end }}

{{ .Title }}

{{ if .Content }}
{{.Content}}
{{ else }}
    {{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode }}
{{ end }}
{{ "" | safeHTML }} {{ 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 }}