Add 404 page

This commit is contained in:
pancakes 2024-04-24 20:52:42 +10:00
parent b8efe39d7d
commit 196ef43f8a
3 changed files with 12 additions and 14 deletions

View file

@ -1,14 +0,0 @@
<script>
import { page } from "$app/stores";
</script>
<svelte:head>
<title>{$page.status} | pancakes</title>
<meta name="description" content={$page.error.message} />
</svelte:head>
<main>
<h1>{$page.status}</h1>
<p>{$page.error.message}</p>
<img src="/assets/neocat_shocked.png" alt="neocat shocked" />
</main>

View file

@ -0,0 +1 @@
export const trailingSlash = "never";

View file

@ -0,0 +1,11 @@
<svelte:head>
<title>Page not found | pancakes</title>
<meta name="description" content="Page not found" />
<meta property="og:title" content="404" />
</svelte:head>
<main id="main-content">
<h1>404</h1>
<p>Page not found</p>
<img src="/assets/neocat_shocked.png" alt="neocat shocked" />
</main>