fix bug in sidebar

This commit is contained in:
Robert Austin 2020-06-03 09:56:14 +10:00
parent 4ae9fd23bb
commit 871c793863
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<div class="docs-menu">
<h4>{{ .Section | humanize }}</h4>
<ul>
{{ range (where .Site.RegularPages "Section" .Section) sort .Site.RegularPages ".Weight" }}
{{ range where .Site.RegularPages "Section" .Section }}
<li class="{{ if eq .File.UniqueID $currentNode.File.UniqueID }}active {{ end }}">
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>