aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2026-01-27 11:23:11 -0500
committerJoe Mou <dev@mou.fo>2026-01-27 12:51:04 -0500
commit70534dacebc69e05d2674a08b4b75b352b8a8913 (patch)
tree3587cdc273adc2c65c870d18e08ae915addb34a0 /views
parent737770b900a6a063d83e384faf09dfa4f2a15ebd (diff)
Propagate GitHub HTTP errors
Render `error.eta` on HTTP error from GitHub. Implemented with Gemini.
Diffstat (limited to 'views')
-rw-r--r--views/error.eta11
1 files changed, 11 insertions, 0 deletions
diff --git a/views/error.eta b/views/error.eta
new file mode 100644
index 0000000..784a843
--- /dev/null
+++ b/views/error.eta
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title><%= it.title ?? it.message %></title>
+ <link rel="stylesheet" href="/static/style.css">
+</head>
+<body>
+ <%= it.message %>
+</body>
+</html>