forked from masak/proto
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show Perl 6-ish error pages instead of Mojolicious's default (Closes #30
- Loading branch information
1 parent
ae688d0
commit 0c3b817
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
% layout 'default'; | ||
% title '500 - Server Error'; | ||
|
||
<div class="well error-page clearfix"> | ||
<img src="/content-pics/camelia-logo.png" id="logo" alt="»ö«" | ||
class="pull-right" width=291 height=273> | ||
<h2 class="h1">500—Server Error</h2> | ||
<p class="lead"> | ||
Something went terribly wrong and we were not able to generate a response. | ||
Please <a href="https://perl6.org/community/irc">notify the Perl 6 community</a> if this issue persists. | ||
</p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
% layout 'default'; | ||
% title '404 - Page Not Found'; | ||
|
||
<div class="well error-page clearfix"> | ||
<img src="/content-pics/camelia-logo.png" id="logo" alt="»ö«" | ||
class="pull-right" width=291 height=273> | ||
<h2 class="h1">404—Page Not Found</h2> | ||
<p class="lead"> | ||
Sorry, but the page you tried to reach was either moved or deleted. | ||
</p> | ||
</div> |