JekyllServeSettingsExtensions.

LimitPosts(JekyllServeSettings, Nullable<int>) Method

Summary

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

Syntax

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

Parameters

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

Return Value

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