diff options
-rw-r--r-- | layouts/partials/sidebar.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 73861a8..f9812c7 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -3,9 +3,9 @@ <h4>{{ .Section | humanize }}</h4> <ul> {{ range (where .Site.RegularPages "Section" .Section) sort .Site.RegularPages ".Weight" }} - <li class="{{ if eq .UniqueID $currentNode.UniqueID }}active {{ end }}"> + <li class="{{ if eq .File.UniqueID $currentNode.File.UniqueID }}active {{ end }}"> <a href="{{ .Permalink }}">{{ .Title }}</a> </li> {{ end }} </ul> -</div>
\ No newline at end of file +</div> |