// Package generator builds static HTML pages and delegates Atom feed output to // subpackage atom. // // Responsibilities by area (file → role): // // - generator.go — Orchestration: load posts from disk, sort newest-first, // paginate, parse theme+nav templates, write index.html / pageN.html, // then call atom.Generate. // - themes.go — Theme registry (name → template string) and getTheme / // ListThemes for the CLI. // - theme_*.go — One file per visual theme: full-page HTML that invokes // {{template "navSharedCSSInner"}} inside