From de94696ed7428311c9832d2f0d55ee1d2d87a196 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Wed, 4 Nov 2026 19:46:20 +0100 Subject: Add custom 404 error page This adds a dedicated 404 page with a playful message that reflects the blog's title and tagline, along with a colourful gradient heading and animated thinking dots. It also provides reduced-motion support, excludes the page from search engine and Pagefind indexing, and directs visitors to the site's navigation and search. --- templates/404.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 templates/404.html (limited to 'templates') diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..5328908 --- /dev/null +++ b/templates/404.html @@ -0,0 +1,29 @@ +{% extends "base.html" %} + +{% set pagefind_body = false %} + +{% block meta %} + {{ super() }} + +{% endblock %} + +{% block styles %} + {{ super() }} + +{% endblock %} + +{% block content %} +
+ +

+ Error 404: + This one didn’t linger +

+

+ Personal notes on things that linger — but this page isn’t one + of them. Maybe it never existed, maybe it moved, or maybe the URL has a + typo. I’m still thinking about which +

+

The menu and the search up top will know more.

+
+{% endblock %} -- cgit v1.3.1