Merge pull request #34 from memclutter/set-abs-lang-url
Added support for i18n url in main menu
This commit is contained in:
commit
10dcb7a324
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
<nav class="flex items-center
|
||||
whitespace-nowrap overflow-x-auto overflow-y-hidden">
|
||||
{{ range .Site.Menus.main }}
|
||||
<a class="ml-5" href="{{ .URL }}">{{ .Name }}</a>
|
||||
<a class="ml-5" href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
</nav>
|
||||
</header>
|
Loading…
Add table
Add a link
Reference in a new issue