Summary
Specifies a layout file to use for all Razor pages processed by this module. This
lets you specify a different layout file for each document.
- Assembly
- Wyam
.Razor .dll - Namespace
- Wyam
.Razor - Containing Type
- Razor
Syntax
public Razor WithLayout(DocumentConfig path)
Parameters
Name | Type | Description |
---|---|---|
path | DocumentConfig | A delegate that should return the layout path as a FilePath . |
Return Value
Type | Description |
---|---|
Razor | The current module instance. |