diff options
Diffstat (limited to 'layouts/partials/docs')
-rw-r--r-- | layouts/partials/docs/languages.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/partials/docs/languages.html b/layouts/partials/docs/languages.html index 497e827..14e0e2c 100644 --- a/layouts/partials/docs/languages.html +++ b/layouts/partials/docs/languages.html @@ -9,7 +9,7 @@ <div class="book-languages" tabindex="0" aria-haspopup="true"> <ul> - <li class="flex"> + <li class="flex align-center"> <img src="{{ "svg/translate.svg" | relURL }}" class="book-icon" alt="Languages" /> {{ $.Site.Language.LanguageName }} </li> @@ -18,12 +18,11 @@ <ul class="book-languages-list"> {{ range .Site.Languages }}{{ with index $translations .Lang }} <li class="{{ if (eq $.Site.Language .Language) }}active{{ end }}"> - <a href="{{ .RelPermalink }}" class="flex"> + <a href="{{ .Permalink }}" class="flex align-center"> <img src="{{ "svg/translate.svg" | relURL }}" class="book-icon" alt="Languages" /> {{ .Language.LanguageName }} </a> </li> {{ end }}{{ end }} </ul> - </div> |