Skip to content

Commit

Permalink
fix bug in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
JugglerX committed Jun 2, 2020
1 parent 4ae9fd2 commit 871c793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 871c793

Please sign in to comment.