mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 09:12:47 +00:00
use RelPermalink for i18n menu
This commit is contained in:
parent
f5cdf1f3a6
commit
ad741cdc70
@ -3,7 +3,7 @@
|
|||||||
<ul class="pl0 mr3">
|
<ul class="pl0 mr3">
|
||||||
{{ range .Translations }}
|
{{ range .Translations }}
|
||||||
<li class="list f5 f4-ns fw4 dib pr3">
|
<li class="list f5 f4-ns fw4 dib pr3">
|
||||||
<a class="hover-white no-underline white-90" href="{{ .Permalink }}">{{ .Lang }}</a>
|
<a class="hover-white no-underline white-90" href="{{ .RelPermalink }}">{{ .Lang }}</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end}}
|
{{ end}}
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user