not_found: allow custom error message
This commit is contained in:
parent
f12bec530a
commit
127b40c27a
1 changed files with 6 additions and 1 deletions
|
@ -3,7 +3,12 @@
|
|||
<div class="card caution-color">
|
||||
<div class="card-content white-text">
|
||||
<span class="card-title">404 Not Found</span>
|
||||
% if (my $m = stash('message')) {
|
||||
<p><%= $m %></p>
|
||||
% }
|
||||
% else {
|
||||
<p>Diese Seite gibt es hier nicht.</p>
|
||||
% }
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue