From 1dee1ea73fb44b42e9b5ed017a0a2cb389395f62 Mon Sep 17 00:00:00 2001 From: Pontoporeia Date: Sat, 28 Mar 2026 19:38:21 +0100 Subject: [PATCH] Add to all public pages; improve page titles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - templates/public/head.php: emit when $metaDescription is set - index.php: title → 'Posterg – Mémoires de l\'ERG'; description = site blurb - tfe.php: title → '[Titre] – [Auteur] – Posterg'; description = synopsis excerpt (strip_tags, truncate 160) - search.php: description = répertoire purpose blurb - apropos.php: description = about-page blurb - licence.php: description = licences blurb Fixes WCAG 2.4.2 (Page Titled) for index.php and tfe.php. All descriptions properly htmlspecialchars-escaped at render time. --- TODO.md | 4 ++-- public/apropos.php | 1 + public/index.php | 3 ++- public/licence.php | 1 + public/search.php | 1 + public/tfe.php | 9 ++++++++- storage/posterg.db | Bin 225280 -> 229376 bytes templates/public/head.php | 3 +++ 8 files changed, 18 insertions(+), 4 deletions(-) diff --git a/TODO.md b/TODO.md index 2f5f255..76ca93f 100644 --- a/TODO.md +++ b/TODO.md @@ -534,7 +534,7 @@ Goal: rename the tables and column to the canonical M2M pattern (`tags`, `thesis `
` and no `