Sets the key to use for storing the heading content in the heading documents.
The default is null which means only store the heading content in the
content of the heading document. Setting this can be useful when you want
to use the heading documents in downstream modules, setting their content
to something else while maintaining the heading content in metadata.
- Namespace
- Statiq.Core
- Containing Type
- GatherHeadings
Syntax
public GatherHeadings WithHeadingKey(string headingKey)
Parameters
| Name |
Type |
Description |
| headingKey |
string |
The key to use for the heading content. |
Return Value