ContentSource
- Namespace: SuCoS.Models
- Source File: ContentSource.cs
Content Source = front matter + raw content
Properties
FrontMatter
(FrontMatter) : Internal front matter
Title
(string?)
Section
(string?)
Type
(string?) { get; set }
Url
(string?)
Draft
(bool?)
Date
(DateTime?)
LastMod
(DateTime?)
PublishDate
(DateTime?)
ExpiryDate
(DateTime?)
Aliases
(List
Weight
(int)
Tags
(List
ResourceDefinitions
(List
RawContent
(string) { get; set }
BundleType
(BundleType)
Kind
(Kind) { get; set } = Kind.single
ContentSourceToPages
(List[]
ContentSourceParent
(ContentSource?) { get; set }
ContentSourceTags
(List[]
Params
(Dictionary<string, object>) { get; set }
SourceRelativePath
(string) { get; set }
SourceRelativePathDirectory
(string)
Children
(HashSet[]: List of children content.
RawResources
(Collection
Public Methods
ScanForResources
public ContentSource ScanForResources(ISite site)
Scan and collect resources for this content source
Parameters:
site(ISite)
Returns: ContentSource