aboutsummaryrefslogtreecommitdiff
path: root/packages/astro/test/fixtures/i18n-routing-prefix-always/src/pages/en/start.astro
diff options
context:
space:
mode:
Diffstat (limited to 'packages/astro/test/fixtures/i18n-routing-prefix-always/src/pages/en/start.astro')
-rw-r--r--packages/astro/test/fixtures/i18n-routing-prefix-always/src/pages/en/start.astro13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/astro/test/fixtures/i18n-routing-prefix-always/src/pages/en/start.astro b/packages/astro/test/fixtures/i18n-routing-prefix-always/src/pages/en/start.astro
new file mode 100644
index 000000000..92e189636
--- /dev/null
+++ b/packages/astro/test/fixtures/i18n-routing-prefix-always/src/pages/en/start.astro
@@ -0,0 +1,13 @@
+---
+const currentLocale = Astro.currentLocale;
+---
+<html>
+<head>
+ <title>Astro</title>
+</head>
+<body>
+Start
+Current Locale: {currentLocale ? currentLocale : "none"}
+
+</body>
+</html>