1
0
Fork 0
mirror of https://github.com/safing/web synced 2025-04-20 19:09:10 +00:00

Improve maint page and enable redirect checks ()

This commit is contained in:
Daniel Hovie 2023-01-10 15:09:47 +01:00 committed by GitHub
parent e0e4e4a36b
commit 7924704c00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

View file

@ -34,3 +34,7 @@
<link rel="stylesheet" href="{{ site.assets_url }}css/main.css" type="text/css"> <link rel="stylesheet" href="{{ site.assets_url }}css/main.css" type="text/css">
{% include plausible.html %} {% include plausible.html %}
{%- if page.redirect -%}
<meta http-equiv="refresh" content="{{ page.redirect_after | default: 0 }};url={{ page.redirect }}" />
{%- endif %}

View file

@ -1,18 +1,22 @@
--- ---
layout: page layout: page
title: Maintenance title: Maintenance
redirect: /support/maintenance
redirect_after: 60
--- ---
<section class="publication-layout"> <section class="publication-layout">
<div class="markdown-container max-w-5xl"> <div class="markdown-container max-w-5xl">
<h1 class="font-extrabold"> <h1 class="font-extrabold">
Maintenance In Progress Account Server is in Maintenance
</h1> </h1>
<p style="margin-top: 50px;"> <p style="margin-top: 50px;">
You have been redirected to here because the service you are trying to access is currently under maintenance. You have been redirected here because the Account Server is currently under maintenance.<br>
It will be available again by 10. January 16:00 UTC.
</p> </p>
<p> <p>
It will be available again shortly. This page will automatically check the status and redirect you once maintenance has ended.<br>
You may also refresh this page to check.
</p> </p>
</div> </div>
</section> </section>