forked from TrueCloudLab/dot-hugo
[#8] Fix section highlighting
This commit is contained in:
parent
dd500e1b2b
commit
9878c1dcaf
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