IDocumentExtensions Class
Namespace
Statiq.Web
Base Types
  • object
graph BT Type-->Base0["object"] Type["IDocumentExtensions"] class Type type-node

Syntax

public static class IDocumentExtensions

Methods

Name Return Value Summary
GetPublishedDate(IDocument, bool) DateTime
Gets the published date by first checking metadata for Published, then checking for a file name prefix of the form "yyyy/mm/dd-" (or the locale equivalent), then using the last modified date of the file.
static
GetPublishedDate(IDocument, IExecutionContext, bool) DateTime
Gets the published date by first checking metadata for Published, then checking for a file name prefix of the form "yyyy/mm/dd-" (or the locale equivalent), then using the last modified date of the file.
static