JekyllCleanSettingsExtensions.

UseStrictFrontMatter(JekyllCleanSettings, bool) Method

Summary

Sets if the build should fail if there is a YAML syntax error in a page's front matter. --strict_front_matter

Syntax

public static JekyllCleanSettings UseStrictFrontMatter(this JekyllCleanSettings settings, bool enable = true)

Parameters

Name Type Description
settings JekyllCleanSettings The settings.
enable bool to fail if errors are present in front matter, otherwise .

Return Value

Type Description
JekyllCleanSettings The settings instance with the StrictFrontMatter property updated with the value provided in enable.