changed build script to work with dynamic links when switching language

This commit is contained in:
2026-04-23 12:53:31 +02:00
parent d27974f1d2
commit 7ef9cd6e13
+1 -1
View File
@@ -31,7 +31,7 @@ for page_name, translations in content.items():
continue
label = LANG_LABELS.get(other_lang, other_lang)
link = f'<a class="navbar" href="/{other_lang}/{page_name}.html">{label}</a>'
link = f'<a class="navbar" href="../{other_lang}/{page_name}.html">{label}</a>'
links.append(link)
language_switcher = " ".join(links)