Changes the destination extension of input documents to the default page extension
defined in the setting
PageFileExtensions
(which defaults to ".html").
If DestinationPath
, DestinationFileName
, or DestinationExtension
metadata values are set, those will take precedence.
- Namespace
- Statiq
.Core - Containing Type
- SetDestination
Syntax
public SetDestination(bool pageFileExtension)
Parameters
Name | Type | Description |
---|---|---|
pageFileExtension | bool |
true to change the extension to the default page file extension,
false to only set the destination from metadata values.
|