Specifies an alternate query selector for the content.
- Namespace
- Statiq
.Core - Containing Type
- GenerateExcerpt
Syntax
public GenerateExcerpt(string querySelector, bool keepExisting = true)
Parameters
| Name | Type | Description |
|---|---|---|
| querySelector | string | The query selector to use. |
| keepExisting | bool | true to keep existing excerpt metadata, false to always replace it with a calculated excerpt. |