add home link to error page and catch missing template exception in glob route

This commit is contained in:
dandds
2018-10-31 13:41:04 -04:00
parent 87baa1f873
commit 0a176239b7
2 changed files with 10 additions and 1 deletions

View File

@@ -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 %}