#note #tag:manual
Build
To build and run:
stack build# Build the site generatorstack exec site build# Generate the site to _site/stack exec site watch# Dev server with live reload
After changes to Site.hs:
stack exec site rebuild
The site generator compiles Markdown posts and pages with Pandoc, applies templates, and outputs static HTML to _site/. Posts are dated by filename (YYYY-MM-DD-slug.md) and automatically sorted by date on the index and archive pages.