diff options
author | Oscar Najera <hi@oscarnajera.com> | 2024-08-18 16:55:52 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2024-08-18 16:55:52 +0200 |
commit | 5b9e4f55e1ff4c720d874a681b4d920067d5fae2 (patch) | |
tree | 2d4c0d412e3931cb4a21f355173d2317b501b7e8 | |
parent | 3b4b2d050f73b2b8439b4fdff85584d6f8232859 (diff) | |
download | hugo-minimalist-theme-5b9e4f55e1ff4c720d874a681b4d920067d5fae2.tar.gz hugo-minimalist-theme-5b9e4f55e1ff4c720d874a681b4d920067d5fae2.tar.bz2 hugo-minimalist-theme-5b9e4f55e1ff4c720d874a681b4d920067d5fae2.zip |
lang header
-rw-r--r-- | layouts/partials/header.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 0d777ca..ea9f3ec 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,6 +1,6 @@ <nav class="header w-100 w3-theme-d3 w3-theme-border z-2 cf"> <div class="mw7 center pl2"> - <a href="{{ site.BaseURL }}" class="db fl link"> + <a href="{{ site.BaseURL | relLangURL }}" class="db fl link"> {{ with resources.Get .Site.Params.logo }} <img height="{{ site.Params.logo_height }}" @@ -22,7 +22,7 @@ <ul class="ma0 pa0 list overflow-hidden avenir"> {{ range .Site.Menus.main }} <li class="fl-ns w3-hover-theme"> - <a class="db f6 pa3 link near-white" href="{{ .PageRef }}"> + <a class="db f6 pa3 link near-white" href="{{ .PageRef | relLangURL }}"> {{ .Pre }} {{- .Name | safeHTML -}} </a> |