The date the file or post was published.
- Namespace
- Statiq
.Web - Containing Type
- WebKeys
- Field Type
- string
Syntax
public const string Published
Remarks
If you want to use a different metadata key to represent published dates you can
globally fetch a value from a different key by setting
Published
in settings to an evaluated metadata script like => SomeOtherKey
.
The pipelines will ensure that the Published
value is always set by
either reading from an existing value or by attempting to determine a published
date using the file name or (optionally) the file last modified time.
Constant Value
Value | Type |
---|---|
Published | String |