IPage
- Namespace: SuCoS.Models
- Source File: IPage.cs
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
PagesReferences
(ConcurrentBag
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
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
Pages
(IEnumerable
RegularPages
(IEnumerable
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)