Add in a default error sub heading
This commit is contained in:
parent
7db38ede59
commit
738d73dc03
@ -3,7 +3,7 @@
|
|||||||
"files": "^.secrets.baseline$",
|
"files": "^.secrets.baseline$",
|
||||||
"lines": null
|
"lines": null
|
||||||
},
|
},
|
||||||
"generated_at": "2019-09-30T13:51:34Z",
|
"generated_at": "2019-10-02T14:52:59Z",
|
||||||
"plugins_used": [
|
"plugins_used": [
|
||||||
{
|
{
|
||||||
"base64_limit": 4.5,
|
"base64_limit": 4.5,
|
||||||
@ -199,5 +199,5 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"version": "0.12.5"
|
"version": "0.12.6"
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,13 @@
|
|||||||
{{ Icon('cloud', classes="icon--red icon--large")}}
|
{{ Icon('cloud', classes="icon--red icon--large")}}
|
||||||
<hr>
|
<hr>
|
||||||
<h1>{{ code }} - {{ message }}</h1>
|
<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>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="panel__body">
|
<div class="panel__body">
|
||||||
|
@ -98,6 +98,7 @@ components:
|
|||||||
</p>
|
</p>
|
||||||
title: Here’s how you know
|
title: Here’s how you know
|
||||||
errors:
|
errors:
|
||||||
|
default_sub: An error has occured!
|
||||||
not_found: Page Not Found
|
not_found: Page Not Found
|
||||||
not_found_sub: Looks like that page does not exist!
|
not_found_sub: Looks like that page does not exist!
|
||||||
email:
|
email:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user