From aad8b220d147ff2178b7c38a98039b125e2ecbde Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Tue, 16 Jun 2020 16:21:15 +0200 Subject: [PATCH] added custom 404 page --- cookbook/templates/404.html | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 cookbook/templates/404.html diff --git a/cookbook/templates/404.html b/cookbook/templates/404.html new file mode 100644 index 000000000..036148c4d --- /dev/null +++ b/cookbook/templates/404.html @@ -0,0 +1,38 @@ +{% extends "base.html" %} +{% load static %} +{% load i18n %} + +{% block title %}{% trans "404 Error" %}{% endblock %} + +{% block extra_head %} + +{% endblock %} + +{% block content %} + +
+ +

Not Found

+
+ + {% trans 'The page you are looking for could not be found.' %} +
+
+ +
+
+ +
+ {{ request_path }}
+ {{ exception }} +
+
+
+ + {% trans 'Take me Home' %} + {% trans 'Report a Bug' %} +
+ +{% endblock %} \ No newline at end of file