* Add 404 and 500 templates for displaying pretty page not found and server error...
[matthijs/projects/xerxes.git] / templates / 404.html
diff --git a/templates/404.html b/templates/404.html
new file mode 100644 (file)
index 0000000..5a77c6a
--- /dev/null
@@ -0,0 +1,13 @@
+{% extends "base/base.html" %}
+{% load i18n %}
+{% load encode_email %}
+
+{% block content %}
+{% with "xerxes@evolution-events.nl" as email %}
+<h1>{% trans "Page not found" %}</h1>
+{% blocktrans with email|encode_string|safe as email %}
+The page you requested could not be found. If you think this is an
+error, please send an <a href=mailto:{{ email }}>email</a>.
+{% endblocktrans %}
+{% endwith %}
+{% endblock %}