{{ template "section-tree-nav" ($.Scratch.Get "secondLevel") }}
{{ define "section-tree-nav" }}
{{ range .Sections}}
{{ .Title }}
{{if gt (len .Sections) 0}}
add_box
{{ range .Pages }}
- {{ .Title }}
{{ end }}
{{ template "section-tree-nav" . }}
{{end}}
{{ end }}
{{ end }}