Add 403 + 500 error templates (todo §0); render 500 via app error handler

This commit is contained in:
2026-06-14 19:41:19 +02:00
parent c544387d3a
commit 3b2ba76530
6 changed files with 115 additions and 16 deletions

16
views/500.ejs Normal file
View File

@@ -0,0 +1,16 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><%= title %></title>
<link rel="stylesheet" href="/public/css/style.css" />
</head>
<body>
<main>
<h1>500</h1>
<p>Something went wrong on our end.</p>
<p><a href="/">Back home</a></p>
</main>
</body>
</html>