aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-pt2021/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'themes/hugo-pt2021/layouts')
-rw-r--r--themes/hugo-pt2021/layouts/partials/header.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/hugo-pt2021/layouts/partials/header.html b/themes/hugo-pt2021/layouts/partials/header.html
index a51197b..20abe46 100644
--- a/themes/hugo-pt2021/layouts/partials/header.html
+++ b/themes/hugo-pt2021/layouts/partials/header.html
@@ -35,7 +35,7 @@
{{- range $.Site.Data.menu.start -}}
<a
href='{{.href}}'
- class='navbar-item {{if eq .id $.Params.page_id}}has-text-weight-bold{{end}}'
+ class='navbar-item {{if eq .id $.Params.menu}}has-text-weight-bold{{end}}'
title='{{.help}}'
aria-label='{{.help}}'
>
@@ -61,7 +61,7 @@
{{- range $.Site.Data.menu.end -}}
<a
href='{{.href}}'
- class='navbar-item {{if eq .id $.Params.page_id}}is-active{{end}}'
+ class='navbar-item {{if eq .id $.Params.menu}}is-active{{end}}'
title='{{.help}}'
aria-label='{{.help}}'
>