ContentEngineOptions
classNamespace: MyLittleContentEngine
Configuration options for the MyLittleContentEngine static site generation process.
Declaration
public class ContentEngineOptions
Inheritance
object
→ ContentEngineOptions
Propertys
AddPagesWithoutParameters
propertypublic bool AddPagesWithoutParameters { get; init; }
Gets or sets whether to automatically include non-parameterized Razor pages in the generation process.
Returns:
bool ContentEngineOptions.AddPagesWithoutParameters
BaseUrl
propertypublic required string BaseUrl { get; init; }
Gets or sets the base URL for the published site.
Returns:
string ContentEngineOptions.BaseUrl
CanonicalBaseUrl
propertypublic string? CanonicalBaseUrl { get; init; }
Url to use as the canonical base URL for the site, specifically for sitemaps, RSS feeds, and Open Graph metadata.
Returns:
string? ContentEngineOptions.CanonicalBaseUrl
ContentRootPath
propertypublic string ContentRootPath { get; init; }
Gets or sets the path to the content root directory. Defaults to "Content".
Returns:
string ContentEngineOptions.ContentRootPath
FrontMatterDeserializer
propertypublic IDeserializer FrontMatterDeserializer { get; init; }
Gets or sets the YAML deserializer used for parsing front matter in Markdown files.
Returns:
IDeserializer ContentEngineOptions.FrontMatterDeserializer
IgnoredPathsOnContentCopy
propertypublic ImmutableList<string> IgnoredPathsOnContentCopy { get; init; }
Gets or sets paths that should be excluded when copying content to the output folder.
Returns:
ImmutableList<string> ContentEngineOptions.IgnoredPathsOnContentCopy
IndexPageHtml
propertypublic string IndexPageHtml { get; init; }
Gets or sets the filename to use for index pages.
Returns:
string ContentEngineOptions.IndexPageHtml
MarkdownPipelineBuilder
propertypublic Func<IServiceProvider, MarkdownPipeline> MarkdownPipelineBuilder { get; init; }
Gets or sets the function that builds the Markdown pipeline used for parsing and rendering markdown content.
Returns:
Func<IServiceProvider, MarkdownPipeline> ContentEngineOptions.MarkdownPipelineBuilder
OutputFolderPath
propertypublic string OutputFolderPath { get; init; }
Gets or sets the output directory path for generated static files.
Returns:
string ContentEngineOptions.OutputFolderPath
PagesToGenerate
propertypublic ImmutableList<PageToGenerate> PagesToGenerate { get; init; }
Gets or sets the collection of pages that will be generated as static HTML files.
Returns:
ImmutableList<PageToGenerate> ContentEngineOptions.PagesToGenerate
SiteDescription
propertypublic required string SiteDescription { get; init; }
Gets or sets the description or tagline of the blog or website.
Returns:
string ContentEngineOptions.SiteDescription
SiteTitle
propertypublic required string SiteTitle { get; init; }
Gets or sets the title of the blog or website.
Returns:
string ContentEngineOptions.SiteTitle