Add custom error pages

This commit is contained in:
2020-06-12 22:50:08 +02:00
parent bec6b19d1c
commit 4f5013460f
4 changed files with 35 additions and 0 deletions

6
app/templates/404.html Normal file
View File

@@ -0,0 +1,6 @@
{% extends "base.html" %}
{% block app_content %}
<h1>Sorry, we couldn't find that</h1>
<p><a href="{{ url_for('index') }}">Back</a></p>
{% endblock %}