JekyllDoctorSettingsExtensions.

SetLayouts(JekyllDoctorSettings, DirectoryPath) Method

Summary

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

Syntax

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

Parameters

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

Return Value

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