.Site.Pages "sectionfilter" (.Get "page") "description" $withDescription "sortTerm" $sortTerm}}
	{{else}}
		{{template "childs" dict "menu" $pages "style" $style "showhidden" $showhidden "count" 1 "depth" $depth "startdepth" $startdepth "pages" .Site.Pages "sectionfilter" (.Get "page") "description" $withDescription "sortTerm" $sortTerm}}
	{{end}}
</ul>

{{ define "childs" }}
	{{ range .menu }}
		<!-- Section filter checks before processing -->
		{{ .Scratch.Set "processpage" true}}
		{{if $.sectionfilter }