GetTitle(IDocument) Method
Gets a normalized title derived from the document source (or Title if defined).
Namespace
Statiq.Common
Containing Type
IDocumentExtensions

Syntax

public static string GetTitle(this IDocument document)

Parameters

Name Type Description
document IDocument The document.

Return Value

Type Description
string A normalized title or null if the source is null.