commit | a0defc4c9ec6111890bf86f97be4c22b2129f817 | [log] [tgz] |
---|---|---|
author | Nils Diewald <nils@diewald-online.de> | Thu May 07 23:54:17 2015 +0000 |
committer | Nils Diewald <nils@diewald-online.de> | Thu May 07 23:54:17 2015 +0000 |
tree | 10b02249bc4eae4a498096643d03ddefbfa2bd8f | |
parent | 5e48546b9f760a67b0f9c399376d876970e1b945 [diff] [blame] |
Adjustments for subdirectory serving
diff --git a/templates/exception.production.html.ep b/templates/exception.production.html.ep new file mode 100644 index 0000000..7d8af3b --- /dev/null +++ b/templates/exception.production.html.ep
@@ -0,0 +1,6 @@ +% my $msg = $exception->message // '500: Internal Server Error'; +% layout 'main', title => 'KorAP: ' . $msg; + +<p id="no-results"><%= $msg %></p> + +% notify('error' => $msg);