JekyllCleanSettingsExtensions.

RenderDrafts(JekyllCleanSettings, bool) Method

Summary

Sets if posts in the `_drafts` folder should be processed and rendered. -D, --drafts

Syntax

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

Parameters

Name Type Description
settings JekyllCleanSettings The settings.
enable bool to render posts in the _drafts folder, otherwise .

Return Value

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