Specifies alternate separators to be used in an HTML comment.
Setting this to
null will disable looking for separators
and rely only on the query selector.
- Namespace
- Statiq
.Core - Containing Type
- GenerateExcerpt
Syntax
public GenerateExcerpt(string[] separators, bool keepExisting = true)
Parameters
| Name | Type | Description |
|---|---|---|
| separators | string[] | The excerpt separators. |
| keepExisting | bool | true to keep existing excerpt metadata, false to always replace it with a calculated excerpt. |