Add in a default error sub heading

This commit is contained in:
leigh-mil
2019-10-02 10:29:42 -04:00
parent 7db38ede59
commit 738d73dc03
3 changed files with 10 additions and 3 deletions

View File

@@ -9,7 +9,13 @@
{{ Icon('cloud', classes="icon--red icon--large")}}
<hr>
<h1>{{ code }} - {{ message }}</h1>
<p>{{ "errors.not_found_sub" | translate }}</p>
<p>
{% if code == 404 -%}
{{ "errors.not_found_sub" | translate }}
{% else %}
{{ "errors.default_sub" | translate }}
{%- endif %}
</p>
</div>
<hr>
<div class="panel__body">