diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-03-19 15:16:10 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-03-19 15:16:10 -0400 |
commit | 7c3c4a1cb541a81350e0828a887f1ff4210a0ee1 (patch) | |
tree | f0de05b70cee9455ead2b86d02bfc7f90005417e /themes/tozt/layouts/partials | |
parent | dcba0e24f34d9b0547b0a6f6988c442596a49a6e (diff) | |
download | tozt-hugo-7c3c4a1cb541a81350e0828a887f1ff4210a0ee1.tar.gz tozt-hugo-7c3c4a1cb541a81350e0828a887f1ff4210a0ee1.zip |
fix hugo
Diffstat (limited to 'themes/tozt/layouts/partials')
-rw-r--r-- | themes/tozt/layouts/partials/header.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/tozt/layouts/partials/header.html b/themes/tozt/layouts/partials/header.html index 50a465b..fc8b583 100644 --- a/themes/tozt/layouts/partials/header.html +++ b/themes/tozt/layouts/partials/header.html @@ -20,7 +20,7 @@ <ul class="menu"> {{ $page := $}} {{ range $menu := .Site.Menus.main }} - <li{{ if eq $page.URL $menu.URL }} class="active"{{ end }}> + <li{{ if eq $page.RelPermalink $menu.URL }} class="active"{{ end }}> <a href="{{ $menu.URL | relURL }}">{{ .Name }}</a> </li> {{ end }} |