CLASS SiteSettings
- Namespace: SuCoS.Models
- Source File: SiteSettings.cs
The main configuration of the program, extracted from the app.yaml file.
Properties
Title
(string) { get; set } = string.Empty
Description
(string?) { get; set } = string.Empty
Copyright
(string?) { get; set }
BaseUrl
(Uri) { get; set } = new("http://localhost:2341", UriKind.RelativeOrAbsolute)
KindOutputFormats
(Dictionary<Kind, Listnew() { { Kind.home, ["html", "rss"] }, { Kind.list, ["html", "rss"] }, { Kind.section, ["html", "rss"] }, { Kind.taxonomy, ["html", "rss"] }, { Kind.term, ["html", "rss"] }, { Kind.single, ["html", "rss"] }, { Kind.rss, ["rss"] }, }
Outputs
(Dictionary<string, List[]: Types of outputs
Theme
(string?) { get; set }: The global site theme.
ThemeDir
(string) { get; set } = "themes": The theme folder where all themes are placed (if any).
UglyUrLs
(bool) { get; set }
Params
(Dictionary<string, object>) { get; set } = []