#489: use Rel or Permalink depending on if site is multihost
This commit is contained in:
parent
31662538df
commit
a424a062ca
|
@ -23,7 +23,7 @@
|
|||
<ul>
|
||||
{{ range .Site.Languages }}{{ with index $translations .Lang }}
|
||||
<li>
|
||||
<a href="{{ .Permalink }}">
|
||||
<a href="{{ cond hugo.IsMultihost .Permalink .RelPermalink }}">
|
||||
{{ .Language.LanguageName }}
|
||||
</a>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue