mirror of
https://github.com/TeamPiped/hugo-whisper-theme.git
synced 2024-08-14 23:57:00 +00:00
fix bug in sidebar
This commit is contained in:
parent
4ae9fd23bb
commit
871c793863
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue