ContentEngineOptions

class

Namespace: MyLittleContentEngine

Configuration options for the MyLittleContentEngine static site generation process.

Declaration

public class ContentEngineOptions

Inheritance

objectContentEngineOptions

Propertys

AddPagesWithoutParameters

property
public bool AddPagesWithoutParameters { get; init; }
Gets or sets whether to automatically include non-parameterized Razor pages in the generation process.
Returns: bool ContentEngineOptions.AddPagesWithoutParameters

BaseUrl

property
public required string BaseUrl { get; init; }
Gets or sets the base URL for the published site.
Returns: string ContentEngineOptions.BaseUrl

CanonicalBaseUrl

property
public 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

property
public string ContentRootPath { get; init; }
Gets or sets the path to the content root directory. Defaults to "Content".
Returns: string ContentEngineOptions.ContentRootPath

FrontMatterDeserializer

property
public IDeserializer FrontMatterDeserializer { get; init; }
Gets or sets the YAML deserializer used for parsing front matter in Markdown files.
Returns: IDeserializer ContentEngineOptions.FrontMatterDeserializer

IgnoredPathsOnContentCopy

property
public 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

property
public string IndexPageHtml { get; init; }
Gets or sets the filename to use for index pages.
Returns: string ContentEngineOptions.IndexPageHtml

MarkdownPipelineBuilder

property
public 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

property
public string OutputFolderPath { get; init; }
Gets or sets the output directory path for generated static files.
Returns: string ContentEngineOptions.OutputFolderPath

PagesToGenerate

property
public 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

property
public required string SiteDescription { get; init; }
Gets or sets the description or tagline of the blog or website.
Returns: string ContentEngineOptions.SiteDescription

SiteTitle

property
public required string SiteTitle { get; init; }
Gets or sets the title of the blog or website.
Returns: string ContentEngineOptions.SiteTitle