website/overrides/404.html

31 lines
1.5 KiB
HTML

{#-
SPDX-License-Identifier: MIT
This file is copied from https://github.com/squidfunk/mkdocs-material/blob/81c15d5eced1b34e3636acb27d4cf16dad5c26e7/material/404.html
alongside with customizations for live site development.
-#}
{% extends "main.html" %}
{% block content %}
<h1>404 - Not found</h1>
<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>
{% endblock %}