diff options
| author | Francesco Tomaselli <tomaselli.fr@gmail.com> | 2024-08-13 19:22:12 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-13 19:22:12 +0200 | 
| commit | 7459828ba7abe921084dc88f8162be46197f7e77 (patch) | |
| tree | 4dc1c531093c24ea9a6561d30a03879ae87126e0 /layouts/partials/header.html | |
| parent | fcb9e7b4601203c3d9a0ef455a3727502b3e3aa0 (diff) | |
| parent | fcbc8882f28293ab0e2048d432cab42778479244 (diff) | |
Merge branch 'main' into main
Diffstat (limited to 'layouts/partials/header.html')
| -rw-r--r-- | layouts/partials/header.html | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/layouts/partials/header.html b/layouts/partials/header.html index b96fd83..bd17f38 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -11,9 +11,10 @@          {{ with site.Params.menu }}          {{ range . }} -        <p class="small {{ if eq .url $currentPage.Path }} bold {{end}}"> +       +        <p class="small {{ if eq .name (lower $currentPage.Name) }} bold {{end}}">              <a href="{{ .url }}" {{ if and (isset . "newTab") .newTab }}target="_blank" rel="noopener noreferrer"{{ end }}> -                /{{ .name }} +                /{{.name }}              </a>          </p>          {{ end }} | 
