This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Jekyll.
Summary
Sets the layout directory instead of using `_layouts/` automatically
--layouts DIR
- Assembly
- Cake
.Jekyll .dll - Namespace
- Cake
.Jekyll .Commands .Serve - Containing Type
- Jekyll
Serve Settings Extensions
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. |