Fixes multi-language mode in navbar menu items
This commit is contained in:
parent
43e488a00b
commit
37dcd67653
@ -3,7 +3,7 @@
|
|||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
<div class="nav-menu">
|
<div class="nav-menu">
|
||||||
{{ range .Site.Menus.main }}
|
{{ range .Site.Menus.main }}
|
||||||
<a class="color-link nav-link" href="{{ .URL }}">{{ .Name }}</a>
|
<a class="color-link nav-link" href="{{ .URL | relLangURL }}">{{ .Name }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<a class="color-link nav-link" href="{{ .Site.RSSLink }}" target="_blank" rel="noopener" type="application/rss+xml">RSS</a>
|
<a class="color-link nav-link" href="{{ .Site.RSSLink }}" target="_blank" rel="noopener" type="application/rss+xml">RSS</a>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user