[#8] Fix section highlighting
This commit is contained in:
parent
95e99e3d4b
commit
bdc9e03932
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@
|
||||||
data-nav-id="{{.Permalink}}"
|
data-nav-id="{{.Permalink}}"
|
||||||
title="{{.Title}}"
|
title="{{.Title}}"
|
||||||
class="sidelist
|
class="sidelist
|
||||||
{{if eq $fileUniqueID $currentNodeFileUniqueID}}active{{end}}"
|
{{if (or (eq $fileUniqueID $currentNodeFileUniqueID) (eq $currentNode.Type .Page.Title))}}active{{end}}"
|
||||||
>
|
>
|
||||||
<a href="{{.Permalink}}">
|
<a href="{{.Permalink}}">
|
||||||
{{ safeHTML .Params.Pre }}
|
{{ safeHTML .Params.Pre }}
|
||||||
|
|
Loading…
Reference in a new issue