Implement error pages. Fixes #21

This commit is contained in:
Trever Fischer
2012-03-07 17:22:54 -05:00
parent b13e5fc15f
commit 690db3945a
2 changed files with 22 additions and 0 deletions

11
templates/404.html Normal file
View 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
View 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 %}