diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-09-02 10:00:37 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-09-02 10:00:37 +0700 |
commit | 5228eacde06900f669ebf57354bd17187804713a (patch) | |
tree | 61843ecd05bc8a2d8b58762d8488c37cd7a365ad /layouts/partials/post-language-switcher.html | |
parent | b425cdb5b2fbd9aab2031b2986dbf31bcc4d69b8 (diff) | |
download | victor-5228eacde06900f669ebf57354bd17187804713a.tar.gz |
Insignificant
Diffstat (limited to 'layouts/partials/post-language-switcher.html')
-rw-r--r-- | layouts/partials/post-language-switcher.html | 2 |
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" }}) |