Razor.

WithLayout(FilePath) Method

Summary

Specifies a layout file to use for all Razor pages processed by this module.
Assembly
Wyam.Razor.dll
Namespace
Wyam.Razor
Containing Type
Razor

Syntax

public Razor WithLayout(FilePath path)

Parameters

Name Type Description
path FilePath The path to the layout file.

Return Value

Type Description
Razor The current module instance.
GitHub