Added support for i18n url in main menu
This commit is contained in:
parent
ef4d32b949
commit
4b2c4a2677
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
<nav class="flex items-center
|
<nav class="flex items-center
|
||||||
whitespace-nowrap overflow-x-auto overflow-y-hidden">
|
whitespace-nowrap overflow-x-auto overflow-y-hidden">
|
||||||
{{ range .Site.Menus.main }}
|
{{ range .Site.Menus.main }}
|
||||||
<a class="ml-5" href="{{ .URL }}">{{ .Name }}</a>
|
<a class="ml-5" href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
Loading…
Reference in a new issue