Fix section highlighting #3

Merged
realloc merged 1 commit from a.shamray/dot-hugo:bug/8-section_highlighting into frostfs_design_version 2023-05-29 14:46:09 +00:00

View file

@ -126,7 +126,7 @@
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 }}