WithNesting(bool) Method
Controls whether the heading documents are nested. If nesting is used, only the level 1 headings will be in the root set of documents. The rest of the heading documents will only be accessible via the metadata of the root heading documents.
Namespace
Statiq.Core
Containing Type
GatherHeadings

Syntax

public GatherHeadings WithNesting(bool nesting = true)

Parameters

Name Type Description
nesting bool true to turn on nesting.

Return Value

Type Description
GatherHeadings The current module instance.