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
- MergeDocuments
Syntax
public MergeDocuments KeepExistingMetadata(bool keepExistingMetadata = true)
Parameters
Name |
Type |
Description |
keepExistingMetadata |
bool |
true to keep existing metadata values, false to allow overwriting metadata with values from the merged document. |
Return Value