Changes the destination of input documents to that of the delegate.
- Namespace
- Statiq
.Core - Containing Type
- SetDestination
Syntax
public SetDestination(Config<NormalizedPath> destination, bool ignoreMetadata = false)
Parameters
| Name | Type | Description |
|---|---|---|
| destination | Config |
A delegate that returns a NormalizedPath with the desired destination path. |
| ignoreMetadata | bool |
If true existing DestinationPath, DestinationFileName, and DestinationExtension
metadata values will be ignored and the provided config will take precedence, otherwise if false
and if DestinationPath, DestinationFileName, or DestinationExtension
metadata values are set, those will take precedence.
|