Error templates

This commit is contained in:
Nathan Chapman 2022-05-11 17:39:33 -06:00
parent 60896a2835
commit 058d682ddb
4 changed files with 28 additions and 0 deletions

7
src/templates/400.html Normal file
View File

@ -0,0 +1,7 @@
{% extends 'base.html' %}
{% block content %}
<article class="error-view">
<h1>400 Bad request</h1>
</article>
{% endblock %}

7
src/templates/403.html Normal file
View File

@ -0,0 +1,7 @@
{% extends 'base.html' %}
{% block content %}
<article class="error-view">
<h1>403 Forbidden</h1>
</article>
{% endblock %}

7
src/templates/404.html Normal file
View File

@ -0,0 +1,7 @@
{% extends 'base.html' %}
{% block content %}
<article class="error-view">
<h1>404 Page not found</h1>
</article>
{% endblock %}

7
src/templates/500.html Normal file
View File

@ -0,0 +1,7 @@
{% extends 'base.html' %}
{% block content %}
<article class="error-view">
<h1>500 Server error</h1>
</article>
{% endblock %}