From e7557054df393dc896949b096cb8d1474b930caf Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Fri, 13 Sep 2019 12:22:06 +0200 Subject: [PATCH] Add missing template --- templates/error.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 templates/error.html diff --git a/templates/error.html b/templates/error.html new file mode 100644 index 0000000..1f77766 --- /dev/null +++ b/templates/error.html @@ -0,0 +1,24 @@ +{% extends "layout.html" %} +{% import 'utils.html' as utils %} +{% block title %}{{code}} {{status_text}} - {{ config.NAME }}{% endblock %} +{% block header %} +{% endblock %} +{% block content %} +
+{% if not request.path.startswith('/admin') %} +{% include "header.html" %} +{% endif %} +
+

{{code}} {{status_text}}

+

Something went wrong :(

+{% if tb %} +
+

Please consider opening an issue on GitHub.
Here is the traceback:

+
+{{ tb }}
+
+
+{% endif %} +
+
+{% endblock %}