{{ $_hugo_config := `{ "version": 1 }` }} {{ $showhidden := .Get "showhidden"}} {{ $style := .Get "style" | default "li" }} {{ $depth := .Get "depth" | default 1 }} {{ $withDescription := .Get "description" | default false }} {{ $sortTerm := .Get "sort" | default "Weight" }} {{.Inner|safeHTML}} {{ define "childs" }} {{ range .menu }} {{ if and .Params.hidden (not $.showhidden) }} {{else}} {{if not .IsHome}} {{if hasPrefix $.style "h"}} {{$num := sub ( int (trim $.style "h") ) 1 }} {{$numn := add $num $.count }} {{(printf "" $numn)|safeHTML}} {{ .Title }} {{(printf "" $numn)|safeHTML}} {{else}} {{(printf "<%s>" $.style)|safeHTML}} {{ .Title }} {{(printf "" $.style)|safeHTML}} {{end}} {{if $.description}} {{if .Description}}

{{.Description}}

{{else}}

{{.Summary}}

{{end}} {{end}} {{end}} {{ if lt $.count $.depth}} {{if eq $.style "li"}} {{end}} {{end}} {{end}} {{end}} {{end}}