{{ $showhidden := .Get "showhidden"}} {{ $style := .Get "style" | default "li" }} {{ $depth := .Get "depth" | default 1 }} {{ $withDescription := .Get "description" | default false }} {{ $sortTerm := .Get "sort" | default "Weight" }} {{ .Scratch.Set "current" .Page }} {{if (.Get "page")}} {{ with .Site.GetPage "section" (.Get "page") }} {{ $.Scratch.Set "current" . }} {{ end }} {{ end }} {{ $cpage := (.Scratch.Get "current") }}
{{.Description}}
{{else}}{{.Summary}}
{{end}} {{end}} {{ if lt $.count $.depth}} {{if eq $.style "li"}}