diff options
Diffstat (limited to 'templates/error.html.ep')
-rw-r--r-- | templates/error.html.ep | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/error.html.ep b/templates/error.html.ep new file mode 100644 index 0000000..92391d6 --- /dev/null +++ b/templates/error.html.ep @@ -0,0 +1,27 @@ +<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) { + <a href="<%= $_ %>"> <%= $_ %> </a><br> + % } + </nav> +% } + </body> + +</html>
\ No newline at end of file |