mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
use os .RelPermalink brokes the multilingual host functionality
https://gohugo.io/content-management/multilingual/#configure-multilingual-multihost this functionality needs to create the language links with .Permalink
This commit is contained in:
parent
c086834f0e
commit
207fa66431
@ -3,7 +3,7 @@
|
||||
<ul class="{{ cond (eq $.Site.Language.LanguageDirection "rtl") "pr0 ml3" "pl0 mr3" }}">
|
||||
{{ range .Translations }}
|
||||
<li class="list f5 f4-ns fw4 dib {{ cond (eq $.Site.Language.LanguageDirection "rtl") "pl3" "pr3" }}">
|
||||
<a class="hover-white no-underline white-90" href="{{ .RelPermalink }}">{{ .Lang }}</a>
|
||||
<a class="hover-white no-underline white-90" href="{{ .Permalink }}">{{ .Lang }}</a>
|
||||
</li>
|
||||
{{ end}}
|
||||
</ul>
|
||||
|
Loading…
x
Reference in New Issue
Block a user