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)
Parameters
Name | Type | Description |
---|---|---|
content | Config |
A delegate that returns the content to set. |