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 posts in the `_drafts` folder should be processed and rendered.
-D, --drafts
- Assembly
- Cake
.Jekyll .dll - Namespace
- Cake
.Jekyll .Commands .Serve - Containing Type
- Jekyll
Serve Settings Extensions
Syntax
public static JekyllServeSettings RenderDrafts(this JekyllServeSettings settings, bool enable = true)
Parameters
Name | Type | Description |
---|---|---|
settings | JekyllServeSettings | The settings. |
enable | bool | to render posts in the _drafts folder, otherwise . |
Return Value
Type | Description |
---|---|
JekyllServeSettings | The settings instance with the Drafts property updated with the value provided in enable. |