IPage

Each page data created from source files or from the system.

Properties

ContentSource

(ContentSource) : The underlining content source

SourcePathLastDirectory

(string?): The source directory of the file.

AliasesProcessed

(Collection?) : Secondary URL patterns to be used to create the url.

PagesReferences

(ConcurrentBag) : Other content that mention this content. Used to create the tags list and Related Posts section.

Parent

(IPage?) : Other content that mention this content. Used to create the tags list and Related Posts section.

Plain

(string): Plain markdown content, without HTML.

TagsReference

(List) : A list of tags, if any.

IsHome

(bool): Just a simple check if the current page is the home page

IsPage

(bool): Just a simple check if the current page is a "page"

IsSection

(bool): Just a simple check if the current page is a section page

WordCount

(int): The number of words in the main content

ContentPreRendered

(string) : The markdown content converted to HTML

Content

(string) : The processed content.

CompleteContent

(string) : Creates the output file by applying the theme templates to the page content.

OutputFormat

(string) { get; set }: The output format used

OutputFormats

(List) : All output formats of the content has

Pages

(IEnumerable) : Other content that mention this content. Used to create the tags list and Related Posts section.

RegularPages

(IEnumerable) : List of pages from the content folder.

AllOutputUrLs

(Dictionary<Uri, IOutput>) : Get all URLs related to this content.

Paginator

(Pager?) : Pagination metadata for list pages. Null when the page has fewer items than the paginate threshold.

Public Methods

PostProcess

 void PostProcess(ISite site)

Final steps of parsing the content.

Parameters:

  • site (ISite)