Moving language menu into its own file for easier updating.

This commit is contained in:
Jocelyn Badgley (Twipped)
2022-03-03 16:33:04 -08:00
parent 25cd86590f
commit ba44eeb09e
2 changed files with 8 additions and 7 deletions

View File

@@ -0,0 +1,7 @@
<div class="dropdown-menu" aria-labelledby="nav-gdb">
<a href="/en/" class="{{#is page.lang 'en'}}active {{/is}}dropdown-item">English</a>
<a href="/zh/" class="{{#is page.lang 'zh'}}active {{/is}}dropdown-item">中文 (Chinese)</a>
<a href="/de/" class="{{#is page.lang 'de'}}active {{/is}}dropdown-item">Deutsch (German)</a>
<a href="/hu/" class="{{#is page.lang 'hu'}}active {{/is}}dropdown-item">Magyar (Hungarian)</a>
<a href="/pl/" class="{{#is page.lang 'pl'}}active {{/is}}dropdown-item">polski (Polish)</a>
</div>