add home link to error page and catch missing template exception in glob route
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
<h1>An error occurred.</h1>
|
||||
{% endif %}
|
||||
|
||||
{% if g.current_user %}
|
||||
<p>Return <a href="{{ url_for("atst.home") }}">home</a>.</p>
|
||||
{% endif %}
|
||||
|
||||
</main>
|
||||
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user