| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | legal: add a mit licence | mihna123 | 2026-09-10 |
| | | |||
| * | go.mod: update module to git.mihna123.com | mihna123 | 2026-09-04 |
| | | |||
| * | web: serve the stylesheet over a css route | mihna123 | 2026-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. | ||
| * | config: add tests for config loading and page handlers | mihna123 | 2026-09-04 |
| Cover the defaults/system/user cascade, partial overrides, malformed files and base-url validation, plus DefaultPath resolution. An empty value in an ini file counts as unset, so that is pinned down too. Add the first handlers tests: routing, the instance name reaching the template, and escaping of operator-supplied config in the page. | |||
