about summary refs log tree commit diff
path: root/layouts/partials/post-language-switcher.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/post-language-switcher.html')
-rw-r--r--layouts/partials/post-language-switcher.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/post-language-switcher.html b/layouts/partials/post-language-switcher.html
index d5faf75..118edfb 100644
--- a/layouts/partials/post-language-switcher.html
+++ b/layouts/partials/post-language-switcher.html
@@ -1,7 +1,7 @@
 {{ if .IsTranslated }}
     {{ $pageLang := .Page.Lang}}
     <ul class="post-translations">
-        {{ range .AllTranslations }}
+        {{ range .Page.AllTranslations }}
             {{ if eq .Lang $pageLang }}
                 <li>
                     {{ .Language.LanguageName }} ({{ i18n "current" }})