6b1f4da2
chrome: the head links from ecore, and no shipped favicon
layout.html hardcoded <link rel="icon" href="/static/logo.svg">, and web/static/logo.svg was this service's copy of the brand circle chrome now inlines as a data: URI. Both go: the head renders srht-head-links, which emits the stylesheet and the icon guarded on emptiness, and the icon costs no request and cannot 404. The static tree is two hashed artefacts now, so the arm of TestStaticBundleAndCSS that asserted an hour-cacheable unhashed asset has nothing left to ask about; TestFaviconIsInline takes its place and also pins that the data: URI reaches the page rather than #ZgotmplZ.
bigbes <bigbes@gmail.com> — 2026-08-08 21:28:43 UTC
Commit 6b1f4da2790421dca4fcd5f0395266381718c6f0 —
view raw patch
Parent(s):
e01e9ed0
| File | Status | + | − |
|---|---|---|---|
README.md
|
M | +1 | -1 |
web/static/logo.svg
|
D | -14 | |
web/templates.go
|
M | +3 | -2 |
web/templates/layout.html
|
M | +8 | -7 |
web/web_test.go
|
M | +20 | -5 |