summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/not_found.html.ep7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/not_found.html.ep b/templates/not_found.html.ep
index c2bc09f..411080a 100644
--- a/templates/not_found.html.ep
+++ b/templates/not_found.html.ep
@@ -3,7 +3,12 @@
<div class="card caution-color">
<div class="card-content white-text">
<span class="card-title">404 Not Found</span>
- <p>Diese Seite gibt es hier nicht.</p>
+ % if (my $m = stash('message')) {
+ <p><%= $m %></p>
+ % }
+ % else {
+ <p>Diese Seite gibt es hier nicht.</p>
+ % }
</div>
</div>
</div>