Skip to content
Snippets Groups Projects
Commit cca139b3 authored by Dorian Lesbre's avatar Dorian Lesbre
Browse files

Added custom titles to error pages

parent 462b270d
No related branches found
No related tags found
No related merge requests found
{% extends "base.html" %}
{% block title %}400 Invalid{% endblock %}
{% block "content" %}
<h2>Requête invalide</h2>
<p>Votre requête au serveur est invalide et n'a donc pas pu être traitée.</p>
......
{% extends "base.html" %}
{% block title %}403 Forbidden{% endblock %}
{% block "content" %}
<h2>Accès refusé</h2>
<p>Vous n'avez pas la permission pour consulter cette page.</p>
......
{% extends "base.html" %}
{% block title %}404 Not Found{% endblock %}
{% block "content" %}
<h2>Page introuvable</h2>
<p>La page que vous avez demandée n'existe plus ou n'a jamais existé.</p>
......
{% extends "base.html" %}
{% block title %}500 Internal Error{% endblock %}
{% block "content" %}
<h2>Erreur interne</h2>
<p>Un incident technique est survenu pendant l'affichage de cette page.</p>
......
......@@ -7,7 +7,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Interludes{% if settings.date_start %} {{ settings.date_start.year }}{% endif %}</title>
<title>{% block title %}Interludes{% if settings.date_start %} {{ settings.date_start.year }}{% endif %}{% endblock %}</title>
<meta name="description" content="Inscriptions et infos sur les interENS ludiques{% if settings.date_start %}, édition {{ settings.date_start.year }}{% endif %}">
<meta name="keywords" content="Interludes ENS événement COF {% if settings.date_start %}{{ settings.date_start.year }} {% endif %}InterENS">
<link rel="icon" type="image/png" href="{% static 'imgs/favicon.ico' %}">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment