diff --git a/layouts/partials/paige/menu.html b/layouts/partials/paige/menu.html
index 13becdfc..f05bb284 100644
--- a/layouts/partials/paige/menu.html
+++ b/layouts/partials/paige/menu.html
@@ -36,9 +36,9 @@
{{ range . }}
{{ $menupath := strings.TrimPrefix $basepath .URL }}
- {{ $home := (and (eq $menupath "/") (eq $pagepath "/")) }}
- {{ $menuprefix := (and (ne $menupath "/") (hasPrefix $pagepath $menupath)) }}
- {{ $sectionprefix := (and (ne $menupath "/") (hasPrefix $menupath (printf "/%s/" $page.Section))) }}
+ {{ $home := and (eq $menupath "/") (eq $pagepath "/") }}
+ {{ $menuprefix := and (ne $menupath "/") (hasPrefix $pagepath $menupath) }}
+ {{ $sectionprefix := and (ne $menupath "/") (hasPrefix $menupath (printf "/%s/" $page.Section)) }}
{{ $active := or $home $menuprefix $sectionprefix }}
-