From 9b7e535fa76efdd4f76c23f3d7dee8d860b60642 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sun, 9 Aug 2026 15:34:34 +0200 Subject: Add self-hosted Pagefind search This adds the Pagefind component UI assets and wires the search modal into the base template with a compact header trigger. The integration marks searchable page bodies explicitly, exposes page titles to Pagefind metadata, and adds site-specific styling so the search modal, trigger, focus states, and keyboard-selected results match the blog’s colour scheme. --- templates/base.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'templates/base.html') diff --git a/templates/base.html b/templates/base.html index 99341e7..83d4234 100644 --- a/templates/base.html +++ b/templates/base.html @@ -13,6 +13,7 @@ @@ -71,6 +72,9 @@ + @@ -122,6 +126,7 @@
{% block body %} Skip to main content +