{{ "" | safeHTML }}
    {{ $currentNode := . }} {{range .Site.Home.Sections.ByWeight}} {{ $numberOfMainPages := len .Pages }} {{ if eq $numberOfMainPages 0 }} {{ else }} {{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode}} {{ end }} {{ end }}

{{ .Title }}

{{ if .Content }}
{{.Content}}
{{ else }}
{{ template "section-tree-nav" dict "sect" . "currentnode" $currentNode }}
{{ end }}
{{ if .Site.Params.table_of_content }} {{ if gt .WordCount 200 }}
{{ .TableOfContents }}
{{ end }} {{ 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 }}
  • {{.Title }} {{ $numberOfPages := (add (len .Pages) (len .Sections)) }} {{ if ne $numberOfPages 0 }}
  • {{ end }} {{ end }} {{ end }} {{ if .Site.Params.call_to_action.enable }} {{ with .Site.Params.call_to_action }}
    {{ partial "image.html" (dict "Src" .image) }}

    {{ .title | markdownify }}

    {{ .content | markdownify }}

    {{ if .button.enable }} {{ with .button }} {{ .label }} {{ end }} {{ end }}
    {{ end }} {{ end }}