ISiteSettings

The main configuration of the program, extracted from the app.yaml file.

Properties

Title

(string) : Site Title/Name.

Description

(string?) : Site description

(string?) : Copyright information

BaseUrl

(Uri) { get; set }: The base URL that will be used to build public links.

UglyUrLs

(bool) : The appearance of a URL is either ugly or pretty.

KindOutputFormats

(Dictionary<Kind, List>) : The output format for each content kind

Paginate

(int) : Number of regular pages shown per paginated page.

PaginatePath

(string) : URL path segment used for paginated pages.

Languages

(Dictionary<string, LanguageSettings>) : The languages configured for the site, keyed by their language code.

DefaultLanguage

(string) : The default content language code. Used for content files without a language suffix and as the fallback for template helpers.

DefaultContentLanguageInSubdir

(bool) : When true, content in the default language also gets a language prefix in its URL (e.g. /en/about/). When false (default) the default language has no URL prefix.