This commit is contained in:
Caio Lente 2024-03-05 15:24:13 -03:00
parent fe5c892af5
commit c8673f43ba
No known key found for this signature in database
GPG key ID: E66D381776EFC03A
4 changed files with 5 additions and 5 deletions

View file

@ -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 }}