JekyllServeSettingsExtensions.

SetLayouts(JekyllServeSettings, DirectoryPath) Method

Summary

Sets the layout directory instead of using `_layouts/` automatically --layouts DIR

Syntax

public static JekyllServeSettings SetLayouts(this JekyllServeSettings settings, DirectoryPath layoutsDirectory)

Parameters

Name Type Description
settings JekyllServeSettings The settings.
layoutsDirectory DirectoryPath The layouts directory (defaults to ./_layouts).

Return Value

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