Implement error pages. Fixes #21
This commit is contained in:
11
templates/404.html
Normal file
11
templates/404.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{% extends 'base_fullwidth.html' %}
|
||||
|
||||
{% block sectiontitle %}Four Oh Four{% endblock %}
|
||||
|
||||
{% block title %} 404 - Page not found!{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="item">
|
||||
The page you were looking for could not be found.
|
||||
</div>
|
||||
{% endblock %}
|
11
templates/500.html
Normal file
11
templates/500.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{% extends 'base_fullwidth.html' %}
|
||||
|
||||
{% block sectiontitle %}Kamikaze Shrubs{% endblock %}
|
||||
|
||||
{% block title %} 500 - Server Error{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="item">
|
||||
The server crashed. Something bad happened. The admins have been notified. Please try to stay calm.
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user