~bigbes/sr-ht-dolt: ed5a65bc

chrome: link the favicon through the shared head partial

The icon href was a literal in the layout, so a build with no static tree — a
test, a binary run out of a working copy — asked for /static/logo.svg once per
page and got a 404 each time. It is the chrome's FaviconHref now: our own logo
when this build ships one, checked the way the stylesheet already was, and
NewService's built-in data: URI when it does not. Both <link>s come from
srht-head-links, so the guard against <link href=""> is written once.

Also pins what the repo-list partial's optional fields do for a service that has
no timestamp in its schema: a card with no muted footer, not "0001-01-01".

Eugene Blikh <bigbes@gmail.com> — 2026-08-08 21:39:20 UTC

Commit ed5a65bcd20e870d076abffa4446b9f6f5426349view raw patch

Parent(s): 9660c720

3 changed file(s)

FileStatus+
web/router.go M +15
web/templates/layout.html M +6 -4
web/web_test.go M +35