fix 500 happening in error pages (#914)

This commit is contained in:
Kevin Papst
2019-07-04 17:00:55 +02:00
committed by GitHub
parent 625ac2f1d7
commit 3457f93ed0
3 changed files with 14 additions and 22 deletions

View File

@@ -19,7 +19,7 @@
{% endif %}
<div class="error-page">
<h2 class="headline text-yellow"> {{ status_code }}</h2>
<h2 class="headline {% block error_class %}text-yellow{% endblock %}"> {{ status_code }}</h2>
{% block error_content %}
<div class="error-content">