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:
@@ -18,6 +18,13 @@ contentDir = "content/de"
|
|||||||
{ rss = "/index.xml" },
|
{ rss = "/index.xml" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[menus.main]]
|
||||||
|
identifier = "locale"
|
||||||
|
name = "EN"
|
||||||
|
weight = 1
|
||||||
|
[menus.main.params]
|
||||||
|
action = "locale"
|
||||||
|
|
||||||
[[menus.main]]
|
[[menus.main]]
|
||||||
identifier = "about"
|
identifier = "about"
|
||||||
name = "Über uns"
|
name = "Über uns"
|
||||||
|
|||||||
@@ -18,6 +18,13 @@ contentDir = "content/en"
|
|||||||
{ rss = "/index.xml" },
|
{ rss = "/index.xml" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[menus.main]]
|
||||||
|
identifier = "locale"
|
||||||
|
name = "DE"
|
||||||
|
weight = 1
|
||||||
|
[menus.main.params]
|
||||||
|
action = "locale"
|
||||||
|
|
||||||
[[menus.main]]
|
[[menus.main]]
|
||||||
identifier = "about"
|
identifier = "about"
|
||||||
name = "About"
|
name = "About"
|
||||||
|
|||||||
Reference in New Issue
Block a user