diff options
Diffstat (limited to 'layouts/partials/footer-menu.html')
-rw-r--r-- | layouts/partials/footer-menu.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer-menu.html b/layouts/partials/footer-menu.html index 6ec4094..b2a2817 100644 --- a/layouts/partials/footer-menu.html +++ b/layouts/partials/footer-menu.html @@ -3,7 +3,7 @@ {{ $currentPage := . }} {{ range .Site.Menus.footer }} {{ $active := or ($currentPage.IsMenuCurrent "footer" .) ($currentPage.HasMenuCurrent "footer" .) }} - {{ $active = or $active (eq .Name $currentPage.Title) }} + {{ $active = or $active (eq (.URL | relLangURL) ($currentPage.RelPermalink | relLangURL)) }} <li class="menu-item-{{ .Name | lower }} {{ if $active }}active{{ end }}"> <a href="{{.URL}}"> {{ .Pre }} |