Error page fixes

This commit is contained in:
Martin Mahner 2013-03-19 20:29:31 +01:00
parent 19e45995bf
commit a5bc2ac164
2 changed files with 7 additions and 9 deletions

View file

@ -1,9 +1,8 @@
{% extends "dpaste/base.html" %}
{% block headline %}
<h1>404 Not found</h1>
{% endblock %}
{% block title %}404 Not found{% endblock %}
{% block headline %}404 Not found{% endblock %}
{% block content %}
{% block page %}
<p>Snippet you have searched is not available (anymore).</p>
{% endblock %}

View file

@ -1,9 +1,8 @@
{% extends "dpaste/base.html" %}
{% block headline %}
<h1>500 Internal Server Error</h1>
{% endblock %}
{% block title %}500 Internal Server Error{% endblock %}
{% block headline %}500 Internal Server Error{% endblock %}
{% block content %}
<p>Sorry, there was an error with your request. My fault!</p>
{% block page %}
<p>Sorry, there was an error with your request. The server notified the admin via email.</p>
{% endblock %}