Specifies a model to use for each page based on the current input
document and context.
- Namespace
- Statiq
.Handlebars - Containing Type
- RenderHandlebars
Syntax
public RenderHandlebars WithModel(Config<object> model)
Parameters
| Name | Type | Description |
|---|---|---|
| model | Config |
A delegate that returns the model. |
Return Value
| Type | Description |
|---|---|
| RenderHandlebars | The current module instance. |