diff options
-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" }}) |