Allows you to specify an alternate query selector. If a separator
comment was found then the query selector will be used to determine which
elements prior to the separator the excerpt should be taken from.
- Namespace
- Statiq
.Core - Containing Type
- GenerateExcerpt
Syntax
public GenerateExcerpt WithQuerySelector(string querySelector)
Parameters
| Name | Type | Description |
|---|---|---|
| querySelector | string | The query selector to use. |
Return Value
| Type | Description |
|---|---|
| GenerateExcerpt | The current module instance. |