Use exception var in 404.html if available

This commit is contained in:
Andrew Chen Wang 2021-01-01 22:44:02 -05:00 committed by GitHub
parent 3a1e94f41c
commit ac0af4c178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,5 +5,5 @@
{% block content %}
<h1>Page not found</h1>
<p>This is not the page you were looking for.</p>
<p>{% if exception %}{{ exception }}{% else %}This is not the page you were looking for.{% endif %}</p>
{% endblock content %}{% endraw %}