summaryrefslogtreecommitdiff
path: root/templates/about.html
diff options
context:
space:
mode:
authorDennis Fink2026-08-09 15:34:34 +0200
committerDennis Fink2026-08-09 15:34:34 +0200
commit9b7e535fa76efdd4f76c23f3d7dee8d860b60642 (patch)
tree4d204556ef12f5ebd5ab585a05a04fd9cf286908 /templates/about.html
parent6135bf04509417823b63929524d31c53b47ac901 (diff)
downloaddennisfink.me-9b7e535fa76efdd4f76c23f3d7dee8d860b60642.tar.gz
dennisfink.me-9b7e535fa76efdd4f76c23f3d7dee8d860b60642.zip
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.
Diffstat (limited to '')
-rw-r--r--templates/about.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/about.html b/templates/about.html
index 55a0778..eab1946 100644
--- a/templates/about.html
+++ b/templates/about.html
@@ -1,5 +1,7 @@
{% extends "base.html" %}
+{% set pagefind_body = true %}
+
{% block meta %}
{{ super() }}
<meta property="og:type" content="profile">