SiteSettings

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

(string?) { get; set }

BaseUrl

(Uri) { get; set } = new("http://localhost:2341", UriKind.RelativeOrAbsolute)

KindOutputFormats

(Dictionary<Kind, List>) { get; set } = new() { { Kind.home, ["html", "rss", "sitemap"] }, { 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>) { get; set } = []: 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 }

Paginate

(int) { get; set } = 10: Number of items per pagination page.

PaginatePath

(string) { get; set } = "page": URL segment used for paginated pages.

Params

(Dictionary<string, object>) { get; set } = []