DirectoryMeta.

WithMetadataFile(FilePath, bool, bool) Method

Summary

Specifies a file name to use as common metadata.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Metadata
Containing Type
DirectoryMeta

Syntax

public DirectoryMeta WithMetadataFile(FilePath metadataFileName, bool inherited = false, bool replace = false)

Parameters

Name Type Description
metadataFileName FilePath Name of the metadata file.
inherited bool If set to true, metadata from documents with this file name will be inherited by documents in nested directories.
replace bool If set to true, metadata from this document will replace any existing metadata on the target document.

Return Value

Type Description
DirectoryMeta The current module instance.
GitHub