Skip to content

Commit

Permalink
fix menu styling on the front page
Browse files Browse the repository at this point in the history
  • Loading branch information
stebunovd committed Dec 14, 2024
1 parent 4acf08a commit e33d926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div
class="header{{ if not .Page.Params.darkHeader }} is-light{{ end }}"
class="header{{ if not .context.Page.Params.darkHeader }} is-light{{ end }}"
data-scroll-lock-fill-gap
x-data="Header"
>
Expand All @@ -17,7 +17,7 @@
<a
class="
{{- "header--menu-item" }}
{{- if eq $.RelPermalink .URL }} is-active{{ end -}}
{{- if eq $.context.RelPermalink .URL }} is-active{{ end -}}
"
href="{{ .URL }}"
>{{ .Name }}</a
Expand Down

0 comments on commit e33d926

Please sign in to comment.