diff --git a/layouts/partials/fragments/nav.html b/layouts/partials/fragments/nav.html index 99079a47..5dd5f200 100644 --- a/layouts/partials/fragments/nav.html +++ b/layouts/partials/fragments/nav.html @@ -101,12 +101,10 @@ {{- end }} {{- if .Site.IsMultiLingual -}} - {{- range .Site.Languages }} - {{- if ne .Lang $.Site.Language.Lang -}} - - {{ .LanguageName }} - - {{- end -}} + {{- range $.root.Page.Translations }} + + {{ .Language.LanguageName }} + {{- end -}} {{- end }}