Configures the set of template modules.
- Namespace
- Statiq
.Web - Containing Type
- Bootstrapper
Template Extensions
Syntax
public static TBootstrapper ConfigureTemplates<TBootstrapper>(this TBootstrapper bootstrapper, Action<Templates> action)
where TBootstrapper : IBootstrapper
Type Parameters
| Name | Description |
|---|---|
| TBootstrapper |
Parameters
| Name | Type | Description |
|---|---|---|
| bootstrapper | TBootstrapper | The current bootstrapper. |
| action | Action |
The configuration action. |
Return Value
| Type | Description |
|---|---|
| TBootstrapper | The bootstrapper. |