<div class="toc">
<p><b>Table of Contents</b></p>
<dl class="toc">
{{- $tocdepth := .toc_depth }}
{{- with .context }}
  {{- if eq .Site.Params.ordersectionsby "title"}}
    {{- range .Site.Home.Sections.ByTitle}}
    {{- template "section-tree-nav" dict "sect" . "currentnode" . "count" 1 "tocdepth" $tocdepth}}
    {{- end}}
  {{- else}}
    {{- range .Site.Home.Sections.ByWeight}}
    {{- template "section-tree-nav" dict "sect" . "currentnode" . "count" 1 "tocdepth" $tocdepth}}
    {{- end}}
  {{- end}}
{{