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