diff options
Diffstat (limited to 'templates/error.html.ep')
-rw-r--r-- | templates/error.html.ep | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/error.html.ep b/templates/error.html.ep index 92391d6..d120e69 100644 --- a/templates/error.html.ep +++ b/templates/error.html.ep @@ -1,3 +1,4 @@ +<!DOCTYPE html> <html> <head> @@ -8,20 +9,22 @@ <h1>Error</h1> <p class=center> % if (my $msg = stash 'error') { -%= $msg + %= $msg % } % else { Uwu :( % } </p> + % if (my $see_other = stash 'links') { See: <nav> % for (@$see_other) { - <a href="<%= $_ %>"> <%= $_ %> </a><br> + %= link_to $_ => $_ + <br> % } </nav> % } </body> -</html>
\ No newline at end of file +</html> |