summaryrefslogtreecommitdiffstats
path: root/themes/tozt/layouts/partials
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-03-19 15:16:10 -0400
committerJesse Luehrs <doy@tozt.net>2022-03-19 15:16:10 -0400
commit7c3c4a1cb541a81350e0828a887f1ff4210a0ee1 (patch)
treef0de05b70cee9455ead2b86d02bfc7f90005417e /themes/tozt/layouts/partials
parentdcba0e24f34d9b0547b0a6f6988c442596a49a6e (diff)
downloadtozt-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.html2
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 }}