From 26ac3d74b5adf0b1781a78bba53eabfff2aee6e6 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Thu, 15 Aug 2019 17:15:08 +0200 Subject: [PATCH] Add 404 page --- theme/static/images/butterflies.svg | 1 + theme/templates/404.html | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 theme/static/images/butterflies.svg create mode 100644 theme/templates/404.html diff --git a/theme/static/images/butterflies.svg b/theme/static/images/butterflies.svg new file mode 100644 index 0000000..e280f3c --- /dev/null +++ b/theme/static/images/butterflies.svg @@ -0,0 +1 @@ + diff --git a/theme/templates/404.html b/theme/templates/404.html new file mode 100644 index 0000000..1d0411a --- /dev/null +++ b/theme/templates/404.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} +{% comment %} +SPDX-License-Identifier: GPL-3.0-or-later +{% endcomment %} + +{% load i18n static %} + +{% block content_title %} +

Oh crap! 404

+{% endblock %} + +{% block content %} +

+ {% trans "This page has been lost in the deep dark." %} +

+

+ {% blocktrans %} + If you think this page sould exist, please + alert the administrator. + Else, you should go back and blame your link. + {% endblocktrans %} +

+ erdnaxe's butterflies! Designed by Freepik +{% endblock %}