RenderHandlebars(string, string) Constructor
Parses Handlebars templates in the metadata of each input document and outputs documents with metadata containing the rendered content.
Namespace
Statiq.Handlebars
Containing Type
RenderHandlebars

Syntax

public RenderHandlebars(string sourceKey, string destinationKey = null)

Parameters

Name Type Description
sourceKey string The metadata key of the Handlebars template to process.
destinationKey string The metadata key to store the rendered content (if null, it gets placed back in the source metadata key).