Add language switcher

It's a bit WET but hey, better than nothing I guess
This commit is contained in:
daudix
2024-06-16 05:59:33 +03:00
parent 88cf05a654
commit f7dcab6c1d
3 changed files with 94 additions and 11 deletions

View File

@ -134,6 +134,11 @@ links = [
{ url = "@/demo/index.md", name = "Demo", name_ru = "Демо" },
{ url = "https://codeberg.org/daudix/duckquill", name = "Repo", name_ru = "Репо" },
]
# List of languages that the website is translated to (comment if there's no additional languages)
langs = [
{ code = "en", name = "English" },
{ code = "ru", name = "Русский" },
]
[extra.footer]
# Social links in the footer.