chore(overrides): improve 404 page with inclusion of report button

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
Andrei Jiroh Halili 2023-09-30 22:38:39 +08:00
parent 2f641311e0
commit 59a5f4e47d
Signed by: ajhalili2006
GPG Key ID: 67BFC91B3DA12BE8
1 changed files with 15 additions and 4 deletions

View File

@ -10,10 +10,21 @@
<p>
Either the URL has been moved without redirects, taken down for any reasons, or it doesn't exist (yet).
</p>
<p>
If this is not intended to happen, please report this as a bug in the webiste's issue tracker. Otherwise, you can press back
on your browser or go back to homepage.
</p>
<a class="md-button" href="https://mau.dev/andreijiroh.dev/website/-/issues/new/?issue[title]=Broken link in <URL>">Report this broken link</a>
<a class="md-button" href="/">Go back home</a>
<h2>Troubleshooting tips</h2>
<p>Try checking the URL for any misspellings or improper use of dashes, underscores and periods.</p>
<p>If you're working in this site and you hit an URL configured for redirects (at Cloudflare Pages or similiar), try <a href="https://pypi.org/project/mkdocs-redirects/">configuring redirects in the Mkdocs config first</a>.</p>
<p>Depending on the site version you're viewing, you may need to switch between <a href="https://andreijiroh.eu.org">production</a>
and <a href="https://staging.andreijiroh.eu.org">staging</a> versions of the website. (The tilde versions of the site may be
may lag behind Cloudflare Pages deploys.)</p>
<p>
If you're working in this site and you hit an URL configured for redirects (at Cloudflare Pages or similiar),
try <a href="https://pypi.org/project/mkdocs-redirects/">configuring redirects in the Mkdocs config first</a>.
</p>
<p>
Depending on the site version you're viewing, you may need to switch between <a href="https://andreijiroh.eu.org">production</a>
and <a href="https://staging.andreijiroh.eu.org">staging</a> versions of the website. (The tilde versions of the site may be
may lag behind Cloudflare Pages deploys.)
</p>
{% endblock %}