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 that were marked as unpublished should be rendered.
--unpublished
- Assembly
- Cake
.Jekyll .dll - Namespace
- Cake
.Jekyll .Commands .Clean - Containing Type
- Jekyll
Clean Settings Extensions
Syntax
public static JekyllCleanSettings RenderUnpublished(this JekyllCleanSettings settings, bool enable = true)
Parameters
Name | Type | Description |
---|---|---|
settings | JekyllCleanSettings | The settings. |
enable | bool | to render posts that were marked as unpublished, otherwise . |
Return Value
Type | Description |
---|---|
JekyllCleanSettings | The settings instance with the Unpublished property updated with the value provided in enable. |