Skip to content

Commit 7924704

Browse files
authored
Improve maint page and enable redirect checks (safing#240)
1 parent e0e4e4a commit 7924704

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

_includes/head.html

+4
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,7 @@
3434
<link rel="stylesheet" href="{{ site.assets_url }}css/main.css" type="text/css">
3535

3636
{% include plausible.html %}
37+
38+
{%- if page.redirect -%}
39+
<meta http-equiv="refresh" content="{{ page.redirect_after | default: 0 }};url={{ page.redirect }}" />
40+
{%- endif %}

support/maintenance.html

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
---
22
layout: page
33
title: Maintenance
4+
redirect: /support/maintenance
5+
redirect_after: 60
46
---
57

68
<section class="publication-layout">
79
<div class="markdown-container max-w-5xl">
810
<h1 class="font-extrabold">
9-
Maintenance In Progress
11+
Account Server is in Maintenance
1012
</h1>
1113
<p style="margin-top: 50px;">
12-
You have been redirected to here because the service you are trying to access is currently under maintenance.
14+
You have been redirected here because the Account Server is currently under maintenance.<br>
15+
It will be available again by 10. January 16:00 UTC.
1316
</p>
1417
<p>
15-
It will be available again shortly.
18+
This page will automatically check the status and redirect you once maintenance has ended.<br>
19+
You may also refresh this page to check.
1620
</p>
1721
</div>
1822
</section>

0 commit comments

Comments
 (0)