Configuration

Statiq is highly configurable and everything from pipelines and modules to metadata (known as settings when used globally) can be easily customized to your needs.

Child Pages

Bootstrapper

The bootstrapper is the easiest way to configure an engine, add pipelines and modules to it, and process command-line arguments.

Settings

Settings let you define global metadata that can be accessed from the execution context or documents.

Configuration Delegates

Most modules that require configuration use a special Config<TValue> delegate. This type allows you to specify lazy logic that's evaluated at execution time and optionally uses the document and/or execution context, is async or not, or just converts from a simple value.

Clean Mode

Statiq has a few different options for how files in the output path are deleted on each engine execution.