Revert "Add maintenance page using custom error code"

This reverts commit 37c08ce5ee.
This commit is contained in:
Florine W. Dekker 2021-06-09 17:54:31 +02:00
parent 37c08ce5ee
commit 7ffac38a2a
Signed by: FWDekker
GPG Key ID: 78B3EAF58145AF25
3 changed files with 3 additions and 12 deletions

View File

@ -1,6 +1,6 @@
{
"name": "error-pages",
"version": "1.3.2",
"version": "1.3.1",
"description": "Error pages for my website.",
"author": "Felix W. Dekker",
"browser": "dist/bundle.js",

View File

@ -98,10 +98,5 @@
{
"name": "HTTP version not supported",
"code": "505"
},
{
"name": "Maintenance",
"code": "590",
"maintenance": "true"
}
]

View File

@ -37,13 +37,9 @@ permalink: "{{ errorPage.code | slug }}.html"
<div id="nav"></div>
<div id="contents">
<section class="container">
<h3>{{ errorPage.name }}{% if not errorPage.maintenance %} <small>({{ errorPage.code }})</small>{% endif %}</h3>
<h3>{{ errorPage.name }} <small>({{ errorPage.code }})</small></h3>
Sorry for the inconvenience.
{% if errorPage.maintenance %}
Please try again in a minute or so.
{% else %}
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
{% endif %}
You may want to try going to <a href="https://fwdekker.com/">this website's homepage</a>.
</section>
</div>
<div id="footer"></div>