From 660430f7e6fd6bf77260c4c2281afe2b96362d25 Mon Sep 17 00:00:00 2001 From: june Date: Sat, 16 Aug 2025 23:16:06 +1200 Subject: [PATCH] add 404 page idek --- src/pages/404.astro | 9 +++++++++ src/pages/tags/[name].astro | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/pages/404.astro diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 0000000..a678d68 --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,9 @@ +--- +import Base from "@/layouts/base"; +--- + + +
+ 🥧 404 🥧 +
+ \ No newline at end of file diff --git a/src/pages/tags/[name].astro b/src/pages/tags/[name].astro index 4d0285a..130a9bf 100644 --- a/src/pages/tags/[name].astro +++ b/src/pages/tags/[name].astro @@ -12,7 +12,7 @@ const recipes = await client.getRecipesOfTag(name) // todo redir to 404 if not f {recipes.length} { recipes.length == 1 ? "Recipe" : "Recipes" } with: {name}

-
+
{ recipes.map(r => (