Add 404 page

This commit is contained in:
Alexandre Iooss 2019-08-15 17:15:08 +02:00
parent 2a2afb061e
commit 26ac3d74b5
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
2 changed files with 25 additions and 0 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 114 KiB

24
theme/templates/404.html Normal file
View File

@ -0,0 +1,24 @@
{% extends "base.html" %}
{% comment %}
SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %}
{% load i18n static %}
{% block content_title %}
<h1>Oh crap! <small>404</small></h1>
{% endblock %}
{% block content %}
<p>
{% trans "This page has been lost in the deep dark." %}
</p>
<p>
{% blocktrans %}
If you think this page sould exist, please
<a href="mailto:club-med@crans.org">alert the administrator</a>.
Else, you should go back and blame your link.
{% endblocktrans %}
</p>
<img src="{% static "images/butterflies.svg" %}" class="poulpy" alt="erdnaxe's butterflies! Designed by Freepik">
{% endblock %}