Skip to content

Commit e78dcdc

Browse files
committed
Fix language dropdown selector in site nav
1 parent 3ee1ab6 commit e78dcdc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/partials/header/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ <h2 class="h5 offcanvas-title ps-2" id="offcanvasDoksLabel"><a class="text-dark"
119119
<hr class="text-black-50 my-4 d-lg-none">
120120
<div class="dropdown">
121121
<button class="btn btn-doks-light dropdown-toggle" id="doks-languages" data-bs-toggle="dropdown" aria-expanded="false" data-bs-display="static">
122-
{{ .Site.Params.languageName }}
122+
{{ .Site.Language.LanguageName }}
123123
<span class="dropdown-caret"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg></span>
124124
</button>
125125
<ul class="dropdown-menu dropdown-menu-lg-end me-lg-2 shadow rounded border-0" aria-labelledby="doks-languages">

0 commit comments

Comments
 (0)