By default the front matter is removed from the source file. This allows you to preserve
it in the file for further processing.
- Namespace
- Statiq
.Core - Containing Type
- ExtractFrontMatter
Syntax
public ExtractFrontMatter PreserveFrontMatter(bool preserveFrontMatter = true)
Parameters
| Name | Type | Description |
|---|---|---|
| preserveFrontMatter | bool | Set to true to preserve the front matter, false to remove it. |
Return Value
| Type | Description |
|---|---|
| ExtractFrontMatter | The current module instance. |