Creates a new flatten module with the specified key for child documents
and does not remove tree placeholder documents.
Specify
null
to flatten all descendant documents regardless of key.
- Namespace
- Statiq
.Core - Containing Type
- FlattenTree
Syntax
public FlattenTree(string childrenKey)
Parameters
Name | Type | Description |
---|---|---|
childrenKey | string | The metadata key that contains the children or null to flatten all documents. |