diff --git a/layouts/partials/default.html b/layouts/partials/default.html index 93bbd47..44f35ea 100644 --- a/layouts/partials/default.html +++ b/layouts/partials/default.html @@ -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}}" > {{safeHTML .Params.Pre}}{{or .Params.menuTitle .LinkTitle .Title}}{{safeHTML