awebsite/templates/404.html
2025-04-30 00:07:32 +02:00

46 lines
2.4 KiB
HTML

{% set cdn_version = now() | date(format="%d%m%Y%H%M%S") %}
<!DOCTYPE html>
<html lang="en">
<head
data-base-url="{{config.base_url | safe }}"
data-build-search-index="{{config.build_search_index | safe}}">>
<meta charset="utf-8">
<title>404 - Page Not Found</title>
<meta name="description" content="Page not found on this website.">
<meta name="author" content="{{config.extra.author}}">
<link type="text/css" rel="stylesheet" href="{{config.base_url | safe }}css/grid.css">
<link type="text/css" rel="stylesheet" href="{{config.base_url | safe }}css/style.css">
<link rel="icon" type="image/png" href="{{config.base_url | safe }}images/favicon.webp">
{% if config.extra.stats and config.mode != 'serve' %}
<script async src="{{config.extra.stats.script_src}}" data-website-id="{{config.extra.stats.site_id}}" nonce="{{config.extra.nonce}}"></script>
{% endif %}
<script src = "{{config.base_url | safe }}js/codecopy.js?v={{ cdn_version }}" nonce="{{config.extra.nonce}}"></script>
<script src="{{config.base_url | safe }}js/mermaid.min.js?v={{ cdn_version }}" nonce="{{config.extra.nonce}}"></script>
{%- if config.build_search_index -%}
<script src="{{config.base_url | safe }}elasticlunr.min.js?v={{ cdn_version }}" nonce="{{config.extra.nonce}}"></script>
<script src="{{config.base_url | safe }}js/search.js?v={{ cdn_version }}" nonce="{{config.extra.nonce}}"></script>
{%- endif -%}
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="aron.petau.net" />
<link rel="manifest" href="/site.webmanifest" />
</head>
<body>
<main>
<div class="container" id="main-container">
<div class="row">
<div class="col-12 center">
<h1>404 - Page Not Found</h1>
<h2>Sorry, the page you are looking for does not exist.</h2>
<h2>Try starting from the <a href="{{ config.base_url }}">homepage</a>.</>
</div>
</div>
</div>
</main>
{% include 'footer.html' %}
<script src = "{{config.base_url | safe }}js/colortheme.js?v={{ cdn_version }}" nonce="{{config.extra.nonce}}"></script>
<script src = "{{config.base_url | safe }}js/init.js?v={{ cdn_version }}" nonce="{{config.extra.nonce}}"></script>
</body>
</html>