errors: use the title block

This commit is contained in:
Lephe 2019-09-05 23:46:44 +02:00
parent 9f30bd36a0
commit 10e3c88bd4
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
2 changed files with 8 additions and 4 deletions

View File

@ -1,9 +1,11 @@
{% extends "base/base.html" %}
{% block title %}
<h1>403 - Accès non autorisé</h1>
{% endblock %}
{% block content %}
<section>
<h1>403 - Accès non autorisé</h1>
<img src="{{url_for('static', filename = 'images/403.webp')}}" style="display:block;margin:auto"; />
</section>
{% endblock %}

View File

@ -1,9 +1,11 @@
{% extends "base/base.html" %}
{% block title %}
<h1>404 - Page non trouvée</h1>
{% endblock %}
{% block content %}
<section>
<h1>404 - Page non trouvée</h1>
<img src="{{url_for('static', filename = 'images/404.webp')}}" style="display:block;margin:auto"; />
</section>
{% endblock %}