Fix section highlighting #2

Closed
a.shamray wants to merge 1 commit from a.shamray/dot-hugo:fix/section_highlighting into frostfs_design_version

View file

@ -94,7 +94,7 @@ $currentNodeFileUniqueID = .UniqueID }}{{ end }}
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}}{{or .Params.menuTitle .LinkTitle .Title}}{{safeHTML {{safeHTML .Params.Pre}}{{or .Params.menuTitle .LinkTitle .Title}}{{safeHTML