feat: add language switcher to header nav

Uses Congo built-in locale action menu item.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Christian Gick
2026-04-02 18:11:50 +03:00
parent bc28774be9
commit fad2b0ed1c
2 changed files with 14 additions and 0 deletions

View File

@@ -18,6 +18,13 @@ contentDir = "content/en"
{ rss = "/index.xml" },
]
[[menus.main]]
identifier = "locale"
name = "DE"
weight = 1
[menus.main.params]
action = "locale"
[[menus.main]]
identifier = "about"
name = "About"