diff --git a/home/templates/400.html b/home/templates/400.html index 74eaf30537f05e6e87c60f1e74ccc1c57d2b2046..ec0c026791bb5f68cd7d010be0332d151e783e09 100644 --- a/home/templates/400.html +++ b/home/templates/400.html @@ -1,5 +1,7 @@ {% 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> diff --git a/home/templates/403.html b/home/templates/403.html index 10605fc6945cd7112e4af9ff70ac0afd15db7877..faa73b164993c360fa7ae17e8be605abe68f76b7 100644 --- a/home/templates/403.html +++ b/home/templates/403.html @@ -1,5 +1,7 @@ {% 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> diff --git a/home/templates/404.html b/home/templates/404.html index 4204ae444bf50c3750bd824f6b6824593a78fd7c..c89b1a85f3087b9f629fe662d077a07cde3ab717 100644 --- a/home/templates/404.html +++ b/home/templates/404.html @@ -1,5 +1,7 @@ {% 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> diff --git a/home/templates/500.html b/home/templates/500.html index 3586704593ea0382aae3f08e8a2b45390d95ff73..28d1cd62e5acd602d8ada144a21bad36595a1ae4 100644 --- a/home/templates/500.html +++ b/home/templates/500.html @@ -1,5 +1,7 @@ {% 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> diff --git a/home/templates/base.html b/home/templates/base.html index a7ee04ec1730dc4a94184cab13dd0bc107d78574..3ace02f5cdc4403bd70a958080d3e67936fc9f94 100644 --- a/home/templates/base.html +++ b/home/templates/base.html @@ -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' %}">