Add About page, configurable Home link, RSS footer, MIT license
Branch feature/header-about-config · merged 2026-10-24 · version 0.2.0
What changed
- Header: the host name is replaced by a Home link to the index, and the RSS link is replaced by About.
- Configurable Home text: set
"homeText"incontent/site.json. With no file, no setting or a blank value, it shows "Home". The file is reloaded when it changes, so editing it needs a redeploy but not a rebuild or restart. - About page (
/about): a box at the top with the version (0.2.0 plus the short git commit), the total post count and a link to the latest post. Below it is the guide to writing posts, taken from the hello-world post (about.md, built into the binary). - Footer: a new footer with the RSS link at the bottom right, on every page.
- License: MIT in
LICENSE, linked from the README. The README also documentssite.json,/aboutand how versioning works.
Notes
site.jsonlives incontent/, sodeploy-go posts --contentships it with no script change. It is never treated as a post.- If
site.jsonhas invalid JSON or a misspelled setting name, the error is logged and the last good settings stay in use.
Testing
- All tests pass with the race detector (
go test -race ./...). - New tests cover each
site.jsoncase (missing, set, left out, blank, broken JSON, unknown setting, deleted), the header and footer on every page type, the About page with and without posts, andsite.jsonnot being listed as a post. - Built and ran locally, then checked the header, footer and About page in the HTML.
Screenshots
Taken afterwards from a build of the branch's final commit (ac317db).
| Desktop | Mobile |
|---|---|
![]() |
![]() |
🤖 Generated with Claude Code

