• feat(booth): wrap verbatim index.html booths with a back-to-booths chip + inherited favicon

    vh released this 2026-08-03 13:05:30 -07:00

    Verbatim-index.html booths were served raw (FileResponse) with no base
    template, so they had no favicon and no way back to the booth index — the
    gap the app-rendered gallery/zoom pages already covered via base.html.

    booth_view now reads a small verbatim index.html and, via a pure
    wrap_verbatim_html(), injects:

    • a fixed-position 'all booths' chip (scoped class, max z-index, hidden
      in print), pinned top-right (empty on left-aligned report layouts; a
      top-left chip clips the page title) and appended at the END of the
      document so it never reorders the page;
    • the Booth favicon at the first head-ish seam, only if the page declares
      no icon of its own.

    Injection is doctype/charset-safe for the compact HTML real booths use
    (<!doctype html>

    Downloads