blob: dd1404d1b62301f306b76662e4c65479dad88035 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
{{$currentNode := .}}
<div class="docs-menu">
<h4>{{ .Section | humanize }}</h4>
<ul>
{{ range where .Site.RegularPages "Section" .Section }}
<li class="{{ if eq .File.UniqueID $currentNode.File.UniqueID }}active {{ end }}">
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
</div>
|