CLASS Page
- Namespace: SuCoS.Models
- Source File: Page.cs
Each page data created from source files or from the system.
Properties
ContentSource
(ContentSource)
SourcePathLastDirectory
(string?)
Site
(ISite)
AliasesProcessed
(Collection
PagesReferences
(ConcurrentBag[]
Parent
(IPage?)
Plain
(string)
TagsReference
(List
IsHome
(bool)
IsPage
(bool)
IsSection
(bool)
WordCount
(int)
ContentPreRendered
(string)
Content
(string)
CompleteContent
(string)
OutputFormat
(string) { get; set }
OutputFormats
(List
Pages
(IEnumerable
RegularPages
(IEnumerable
AllOutputUrLs
(Dictionary<Uri, IOutput>)
Title
(string?)
Section
(string?)
Url
(string?)
Draft
(bool?)
Aliases
(List
Date
(DateTime?)
LastMod
(DateTime?)
PublishDate
(DateTime?)
ExpiryDate
(DateTime?)
Weight
(int)
Tags
(List
ResourceDefinitions
(List
RawContent
(string)
ContentSourceToPages
(List
ContentSourceParent
(ContentSource?)
SourceRelativePath
(string)
SourceRelativePathDirectory
(string)
SourceFileNameWithoutExtension
(string?)
Type
(string?)
Kind
(Kind)
BundleType
(BundleType)
ContentSourceTags
(List
Params
(Dictionary<string, object>) { get; set }
RelPermalink
(Uri) { get; set } = new Uri("", UriKind.RelativeOrAbsolute)
Resources
(List
OutputFormatObj
(OutputFormat) : The actual object with OutputFormat data
Public Methods
CreatePermalink
public Uri CreatePermalink(string? urlTemplate = null)
Parameters:
urlTemplate(string?) (Default:null)
Returns: Uri
PostProcess
public void PostProcess()