mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-04-21 14:12:45 +00:00
Use | relLangURL for the base url in the site-navigation (#277)
* Use | relLangURL for the base urlº This way, when you click on the header it maintains you in the same language you previously selected. * Use .Site.Home.RelPermalink as proposed by @regisphilibert
This commit is contained in:
parent
624b79e7f6
commit
981e7a2cb2
@ -1,6 +1,6 @@
|
||||
<nav class="pv3 ph3 ph4-ns" role="navigation">
|
||||
<div class="flex-l justify-between items-center center">
|
||||
<a href="{{ .Site.BaseURL }}" class="f3 fw2 hover-white no-underline white-90 dib">
|
||||
<a href="{{ .Site.Home.RelPermalink }}" class="f3 fw2 hover-white no-underline white-90 dib">
|
||||
{{ .Site.Title }}
|
||||
</a>
|
||||
<div class="flex-l items-center">
|
||||
|
Loading…
x
Reference in New Issue
Block a user