This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Jekyll.
Summary
Sets if the build should fail if there is a YAML syntax error in a page's front matter.
--strict_front_matter
- Assembly
- Cake
.Jekyll .dll - Namespace
- Cake
.Jekyll .Commands .Build - Containing Type
- Jekyll
Build Settings Extensions
Syntax
public static JekyllBuildSettings UseStrictFrontMatter(this JekyllBuildSettings settings, bool enable = true)
Parameters
Name | Type | Description |
---|---|---|
settings | JekyllBuildSettings | The settings. |
enable | bool | to fail if errors are present in front matter, otherwise . |
Return Value
Type | Description |
---|---|
JekyllBuildSettings | The settings instance with the StrictFrontMatter property updated with the value provided in enable. |