From 587dc0c30cd2b42e384864788205f2c150a17f2b Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Sat, 26 Aug 2023 17:07:28 +0100 Subject: Adds 404 page --- src/pages/404.astro | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/pages/404.astro (limited to 'src/pages/404.astro') diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 0000000..447a91e --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,7 @@ +--- +import { getLocaleFromPathOrThrow } from '$lib/getLocaleFromPath'; + +const locale = getLocaleFromPathOrThrow(Astro.url.pathname); +--- + + -- cgit v1.2.3