Static blog site generator in one Go binary: Markdown in, self-contained semantic HTML out. No JavaScript, no database, minimal deps.

mfblog -version: build commit stamped via ldflags -X #28

Merged janantos.tngl.sh
targeting main from version-flag
Merged opened by and assigned to janantos.tngl.sh
targeting main from version-flag
  • mfblog -version (also --version / version) prints 'mfblog '
  • internal/version.Version defaults to (devel); the Makefile stamps it with the short HEAD hash in every build (LDFLAGS -X)
  • -X silently ignores main-package variables, hence the dedicated internal/version package; TestVersionFlag builds both ways and asserts the stamp actually lands (a wrong import path no-ops)
  • README and AGENTS.md
Commits 0