Module futhorc::build[][src]

Exports the build_site function which stitches together the high-level steps of building the output static site: parsing the posts (crate::post), rendering index and post pages (crate::write), and copying the static source directory into the static output directory.

Enums

Error

The error type for building a site. Errors can be during parsing, writing, cleaning output directories, parsing template files, and other I/O.

Functions

build_site

Builds the site from a Config object. This calls into PostParser::parse_posts and Writer::write_posts which do the heavy-lifting. This function also copies the static assets from source directory to the output directory.