Fix #13
This commit is contained in:
parent
fe5c892af5
commit
c8673f43ba
4 changed files with 5 additions and 5 deletions
|
@ -12,7 +12,7 @@
|
|||
<!-- Create a link to every translation -->
|
||||
{{ range where .Site.Languages "Lang" "!=" .Page.Lang }}
|
||||
{{ with (index $translations .Lang) }}
|
||||
<a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
|
||||
<a href="{{ .RelPermalink }}">{{ .Language.LanguageName }}</a>
|
||||
{{ else }}
|
||||
<!-- The complicated setup was necessary to make a grayed out link -->
|
||||
{{ if not .Params.hideUntranslated }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue