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

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.

Settings

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

Web Settings W D

In addition to the settings available from Statiq Framework, Statiq Web also has a number of settings that can be used to control behavior. Global settings that apply to the generation process and all documents are generally defined in a configuration file. Most settings are also appropriate to define at the directory level or per-document if you only want them to apply to specific files.