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 | |
parent | b425cdb5b2fbd9aab2031b2986dbf31bcc4d69b8 (diff) | |
download | victor-5228eacde06900f669ebf57354bd17187804713a.tar.gz |
Insignificant
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/header.html | 2 | ||||
-rw-r--r-- | layouts/partials/post-language-switcher.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 58625fe..991a2da 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -8,7 +8,7 @@ {{ range .Site.Menus.main }} {{ if eq $current .URL }} - <a aria-current="page">{{ .Title }}</a> + <a aria-current="page">{{ .Title }}</a> {{ else }} <a href="{{ .URL }}">{{ .Title }}</a> {{ end }} 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" }}) |