summaryrefslogtreecommitdiff
path: root/templates/exception_.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/exception_.html.ep')
-rw-r--r--templates/exception_.html.ep31
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/exception_.html.ep b/templates/exception_.html.ep
new file mode 100644
index 0000000..a605aaf
--- /dev/null
+++ b/templates/exception_.html.ep
@@ -0,0 +1,31 @@
+<!doctype html>
+
+<html>
+
+ <head>
+ <title>Error</title>
+ </head>
+
+ <body>
+ <h1>Error</h1>
+ <p class=center>
+% if (my $msg = stash 'error') {
+%= $msg
+% }
+% else {
+ Uwu :(
+% }
+ </p>
+
+% if (my $see_other = stash 'links') {
+ See:
+ <nav>
+% for (@$see_other) {
+%= link_to $_ => $_
+ <br>
+% }
+ </nav>
+% }
+ </body>
+
+</html>