diff --git a/layouts/partials/default.html b/layouts/partials/default.html index a69fccd..352739d 100644 --- a/layouts/partials/default.html +++ b/layouts/partials/default.html @@ -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}}" > {{ safeHTML .Params.Pre }}