JekyllNewSettingsExtensions.

SetLayouts(JekyllNewSettings, DirectoryPath) Method

Summary

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

Syntax

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

Parameters

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

Return Value

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