JekyllCleanSettingsExtensions.

LimitPosts(JekyllCleanSettings, Nullable<int>) Method

Summary

Sets a limit to the number of posts to parse and publish. --limit_posts NUM

Syntax

public static JekyllCleanSettings LimitPosts(this JekyllCleanSettings settings, Nullable<int> maxPosts)

Parameters

Name Type Description
settings JekyllCleanSettings The settings.
maxPosts Nullable<int> The maximum number of posts to parse and publish.

Return Value

Type Description
JekyllCleanSettings The settings instance with updated with the maxPosts provided.