summaryrefslogtreecommitdiff
path: root/internal/web/css/style.css
Commit message (Collapse)AuthorAge
* web: serve the stylesheet over a css routemihna1232026-09-04
Embed the css directory alongside the templates and serve it with a FileServerFS mounted on GET /css/. The directory name matches the url prefix, so the file resolves without an fs.Sub and there is no error path to handle. Adding js later is the same one line. Cover the route in the handler tests, including that template sources stay unreachable and that the href the home page emits resolves to a file that is actually served.