{{ "" | safeHTML }}
    {{ $currentNode := . }} {{ $showvisitedlinks := .Site.Params.showVisitedLinks }} {{ i18n "Back-home"}} {{range .Site.Home.Sections.ByWeight}} {{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode "showvisitedlinks" $showvisitedlinks}} {{end}}

{{ .Title }}

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