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

@ -3,7 +3,7 @@
"files": "^.secrets.baseline$",
"lines": null
},
"generated_at": "2019-09-30T13:51:34Z",
"generated_at": "2019-10-02T14:52:59Z",
"plugins_used": [
{
"base64_limit": 4.5,
@ -199,5 +199,5 @@
}
]
},
"version": "0.12.5"
"version": "0.12.6"
}

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">

View File

@ -98,6 +98,7 @@ components:
</p>
title: Heres how you know
errors:
default_sub: An error has occured!
not_found: Page Not Found
not_found_sub: Looks like that page does not exist!
email: