    {{- range $pages.ByWeight }}
            {{- if and .Params.hidden (not $.showhidden) }}
            {{- else}}
              {{- template "section-tree-nav" dict "sect" . "currentnode" $currentNode "count" (add $.count 1) "tocdepth" $.tocdepth }}
            {{- end}}
          {{- end}}
        {{- end}}
        </dl></dd>
      {{- end}}
    {{- end}}
  {{- end}}
 {{- end}}
{{- end}}
</dl>
</div>