web: serve the fonts the stylesheet asks for !186

merged merged by cmc on 2026-09-03 15:06 UTC · krz/gitbay:fix-font-routes into main

Discussion

cmc

The route table named plex-*.woff2 while the embedded files and the @font-face rules are atkinson-*.woff2, so every font request on gitbay.org was a 404 and pages rendered in the fallback stack.

Font routes are now one literal per file in the embedded directory (a {name} wildcard still conflicts with /{owner}/{repo}/... in ServeMux). TestStylesheetFontsAreServed asserts every url() in the stylesheet has a route that serves it with font/woff2; it fails on the old table.

Closes #102