Fix section highlighting #2
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ $currentNodeFileUniqueID = .UniqueID }}{{ end }}
|
|||
data-nav-id="{{.Permalink}}"
|
||||
title="{{.Title}}"
|
||||
class="sidelist
|
||||
{{if eq $fileUniqueID $currentNodeFileUniqueID}}active{{end}}"
|
||||
{{if (or (eq $fileUniqueID $currentNodeFileUniqueID) (eq $currentNode.Type .Page.Title))}}active{{end}}"
|
||||
>
|
||||
<a href="{{.Permalink}}">
|
||||
{{safeHTML .Params.Pre}}{{or .Params.menuTitle .LinkTitle .Title}}{{safeHTML
|
||||
|
|
Loading…
Reference in a new issue