We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37dddcd + 5e3f24d commit 7612c33Copy full SHA for 7612c33
src/i18n/ui.ts
@@ -13,5 +13,3 @@ export let i18n: object = {
13
14
export const languages: Array<string> = Object.keys(i18n);
15
export const defaultLang = "en" as keyof typeof i18n;
16
-
17
-console.log(languages);
src/pages/404.astro
@@ -1,7 +1,8 @@
1
---
2
3
import "../styles/global.css";
4
import NavBar from "../components/NavBar.astro";
+
5
+Astro.params.lang = "en";
6
7
8
<!DOCTYPE html>
0 commit comments