about summary refs log tree commit diff
path: root/layouts/partials/post-language-switcher.html
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2023-09-02 10:00:37 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2023-09-02 10:00:37 +0700
commit5228eacde06900f669ebf57354bd17187804713a (patch)
tree61843ecd05bc8a2d8b58762d8488c37cd7a365ad /layouts/partials/post-language-switcher.html
parentb425cdb5b2fbd9aab2031b2986dbf31bcc4d69b8 (diff)
downloadvictor-5228eacde06900f669ebf57354bd17187804713a.tar.gz
Insignificant
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" }})