KeepExisting(bool) Method
The default behavior of this module is to replace all existing metadata with metadata from the merged document. This method ensures that any existing metadata values are kept and only non-existing values are merged.
Namespace
Statiq.Core
Containing Type
MergeMetadata

Syntax

public MergeMetadata KeepExisting(bool keepExisting = true)

Parameters

Name Type Description
keepExisting bool true to keep existing metadata values, false to allow overwriting metadata with values from the merged document.

Return Value

Type Description
MergeMetadata The current module instance.