about summary refs log tree commit diff
path: root/layouts/partials/left-sidebar.html
blob: 403afc7ab881580a6e193c0ab037dd8db16fbb4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<details open>
  <summary>{{ i18n "sections" }}</summary>
  <ul>
    {{ range sort .Site.Sections.ByTitle }}
    <li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
    {{ end }}
  </ul>
</details>
{{ if gt (len .TableOfContents) 32 }}
<details open id="toc">
  <summary>{{ i18n "TOC" }}</summary>
  {{ .TableOfContents }}
</details>
{{ end }}