aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/docs/languages.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/partials/docs/languages.html b/layouts/partials/docs/languages.html
index 4fa1f46..63404a9 100644
--- a/layouts/partials/docs/languages.html
+++ b/layouts/partials/docs/languages.html
@@ -7,8 +7,7 @@
{{ $langs = merge $langs (dict .Language.Lang .) }}
{{ end }}
-<div class="book-languages">
-
+<div class="book-languages" tabindex="0" aria-haspopup="true">
<ul>
<li class="flex">
<img src="{{ "svg/translate.svg" | relURL }}" class="book-icon" alt="Languages" />
@@ -18,7 +17,7 @@
<ul class="book-languages-list">
{{ range sort $langs }}
- <li class="{{ if (eq $.Site.Language .Language ) }}active{{ end }}">
+ <li class="{{ if (eq $.Site.Language .Language) }}active{{ end }}">
<a href="{{ .Permalink }}" class="flex">
<img src="{{ "svg/translate.svg" | relURL }}" class="book-icon" alt="Languages" />
{{ .Language.LanguageName }}