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 a Code of Conduct should be included.
--code-of-conduct
- Assembly
- Cake
.Jekyll .dll - Namespace
- Cake
.Jekyll .Commands .NewTheme - Containing Type
- Jekyll
New Theme Settings Extensions
Syntax
public static JekyllNewThemeSettings IncludeCodeOfConduct(this JekyllNewThemeSettings settings, bool enable = true)
Parameters
Name | Type | Description |
---|---|---|
settings | Jekyll |
The settings. |
enable | bool | to publish posts with a future date, otherwise . |
Return Value
Type | Description |
---|---|
Jekyll |
The settings instance with the CodeOfConduct property updated with the value provided in enable. |