diff --git a/layouts/partials/paige/menu.html b/layouts/partials/paige/menu.html index d9cc5917..fab3903e 100644 --- a/layouts/partials/paige/menu.html +++ b/layouts/partials/paige/menu.html @@ -9,6 +9,8 @@ {{ $basepath = "" }} {{ end }} +{{ $pagepath := strings.TrimPrefix $basepath $page.RelPermalink }} + {{ with $page.Param "paige.menu.style" }} {{ if eq . "links" }} {{ $links = true }} @@ -28,7 +30,6 @@