diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-09-29 22:05:18 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-10-01 07:51:11 +0200 |
| commit | 3d83f6e14f3524531dbc5afadb42f2946161a2f6 (patch) | |
| tree | 748d870501c37b04132f9d556ffc0263b77b0077 /layouts/partials/header/nav.html | |
| parent | 4c41e477e13d37e187c8de4225c7e8056bd9ed28 (diff) | |
Update global styles
Diffstat (limited to 'layouts/partials/header/nav.html')
| -rw-r--r-- | layouts/partials/header/nav.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/header/nav.html b/layouts/partials/header/nav.html index 94b073d..95c0e59 100644 --- a/layouts/partials/header/nav.html +++ b/layouts/partials/header/nav.html @@ -1,8 +1,8 @@ <nav> <ul> - {{ $currentPage := . }} - {{ range site.Menus.main }} - {{- $menu_item_url := (cond (strings.HasSuffix .URL "/") .URL (printf "%s/" .URL) ) | absLangURL }} + {{ $currentPage := . }} + {{ range site.Menus.main }} + {{- $menu_item_url := (cond (strings.HasSuffix .URL "/") .URL (printf "%s/" .URL) ) | absLangURL }} {{- $page_url := $currentPage.Permalink | absLangURL }} <li> <a href="{{ .URL }}" class="{{ if eq $menu_item_url $page_url }} active {{ end }}"> |
