SetContent(Config<string>, Config<string>) Constructor
Sets the content of each document to the config value. If the value is null, the original input document will be output (use System.String.Empty to clear the content).
Namespace
Statiq.Core
Containing Type
SetContent

Syntax

public SetContent(Config<string> content, Config<string> mediaType)

Parameters

Name Type Description
content Config<string> A delegate that returns the content to set.
mediaType Config<string> The media type of the new content.