Specifies a partial template to be registered for each page based on the current input
document and context.
- Namespace
- Statiq
.Handlebars - Containing Type
- RenderHandlebars
Syntax
public RenderHandlebars WithPartial(string name, Config<string> partial)
Parameters
Name | Type | Description |
---|---|---|
name | string | The name of the partial template. |
partial | Config |
A delegate that returns the partial template. |
Return Value
Type | Description |
---|---|
RenderHandlebars | The current module instance. |