blogin build

Render the content tree to static HTML, writing feeds, a sitemap, and the search index alongside the pages.

blogin build [--src=<dir>] [--out=<dir>] [--drafts] [--jobs=<n>] [--debug] [--force]

Options#

--src=<dir>
the content directory. It defaults to content. The blogin.json next to it supplies the configuration.
--out=<dir>
overrides the output directory from the config.
--drafts
includes posts marked as drafts.
--jobs=<n>
sets the number of parallel workers. It defaults to the CPU count.
--debug
emits provenance comments around rendered partials and pages.
--force
rewrites every file, bypassing the incremental content-hash check.
--verbose
prints extra detail.

Example#

blogin build --out=dist --force