From 7d836c165cab18aa6aa7c4df9f89740ed55c0c4d Mon Sep 17 00:00:00 2001 From: Pontoporeia Date: Thu, 26 Mar 2026 22:51:16 +0100 Subject: [PATCH] =?UTF-8?q?docs:=20frontend=20&=20template=20audit=20?= =?UTF-8?q?=E2=80=94=20add=20sections=20D=E2=80=93H=20to=20TODO.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Analysed all public pages, CSS files, and template partials. Found: Template structure (D): - boilerplate duplicated across 5 public pages (no shared partial exists) - Live-reload snippet copy-pasted into 6 files - templates/header.php and templates/head.php are dead/orphaned files - public/assets/icons.svg is a dead TrumboWYG sprite (never referenced, ~15 KB) - admin_favicon.svg used as public favicon (misleading naming) CSS (E): - html/body reset block repeated in 4 page stylesheets; belongs in common.css - @font-face missing font-display:swap (FOIT risk) - Search pagination is fully inline-styled; home page already has .pagination-btn classes - Multiple one-off inline styles across tfe.php, edit.php, index.php - .site-nav__right is a CSS duplicate of .site-nav__link - .site-nav__link--active applied in PHP but has no CSS rule (invisible active state) Template logic (F): - 429 rate-limit response is bare unstyled HTML - apropos.php contacts/credits hardcoded (require code deploy to change) - licence.php wastes half the viewport with an always-empty right column Accessibility (G): -