ContentEngineContentOptions

class

Namespace: MyLittleContentEngine

Provides configuration options for processing markdown files with front matter in Blazor Static sites.

Declaration

public class ContentEngineContentOptions

Inheritance

objectContentEngineContentOptions<TFrontMatter>

Implements

  • MyLittleContentEngine.IContentOptions

Propertys

BasePageUrl

property
public string BasePageUrl { get; init; }
Gets or sets the URL path component for the page that displays the content.
Returns: string ContentEngineContentOptions<TFrontMatter>.BasePageUrl

ContentPath

property
public string ContentPath { get; init; }
Gets or sets the folder path relative to the project root where content files are stored.
Returns: string ContentEngineContentOptions<TFrontMatter>.ContentPath

ExcludeSubfolders

property
public bool ExcludeSubfolders { get; init; }
Gets or sets a value indicating whether to exclude subfolders when searching for content files.
Returns: bool ContentEngineContentOptions<TFrontMatter>.ExcludeSubfolders

PostFilePattern

property
public string PostFilePattern { get; init; }
Gets or sets the file pattern used to identify content files in the ContentPath.
Returns: string ContentEngineContentOptions<TFrontMatter>.PostFilePattern

PreProcessMarkdown

property
public Func<IServiceProvider, string, string> PreProcessMarkdown { get; init; }
Gets or sets a hook to process markdown content before it is rendered as HTML.
Returns: Func<IServiceProvider, string, string> ContentEngineContentOptions<TFrontMatter>.PreProcessMarkdown

Tags

property
public TagsOptions Tags { get; init; }
Gets or sets the options related to tag functionality.
Returns: TagsOptions ContentEngineContentOptions<TFrontMatter>.Tags