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