JekyllBuildSettingsExtensions.

LimitPosts(JekyllBuildSettings, Nullable<int>) Method

Summary

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

Syntax

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

Parameters

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

Return Value

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