JekyllServeSettingsExtensions.

ShowDirListing(JekyllServeSettings, Nullable<bool>) Method

Summary

Sets if a directory listing should be shown instead of loading your index file.

Syntax

public static JekyllServeSettings ShowDirListing(this JekyllServeSettings settings, Nullable<bool> enable = true)

Parameters

Name Type Description
settings JekyllServeSettings The settings.
enable Nullable<bool> to show a directory listing instead of loading your index file, otherwise .

Return Value

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