Replaces all occurrences of the search string in every input document with the
string value of the returned object. This allows you to specify different content
for each document depending on the input document.
- Namespace
- Statiq
.Core - Containing Type
- ReplaceInContent
Syntax
public ReplaceInContent(string search, Config<string> content)
Parameters
Name | Type | Description |
---|---|---|
search | string | The string to search for. |
content | Config |
A delegate that returns the content to replace the search string with. |