ContentEngineContentOptions
classNamespace: MyLittleContentEngine
Provides configuration options for processing markdown files with front matter in Blazor Static sites.
Declaration
public class ContentEngineContentOptions
Inheritance
object
→ ContentEngineContentOptions<TFrontMatter>
Implements
MyLittleContentEngine.IContentOptions
Propertys
BasePageUrl
propertypublic string BasePageUrl { get; init; }
Gets or sets the URL path component for the page that displays the content.
Returns:
string ContentEngineContentOptions<TFrontMatter>.BasePageUrl
ContentPath
propertypublic 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
propertypublic 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
propertypublic string PostFilePattern { get; init; }
Gets or sets the file pattern used to identify content files in the ContentPath.
Returns:
string ContentEngineContentOptions<TFrontMatter>.PostFilePattern
PreProcessMarkdown
propertypublic 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
propertypublic TagsOptions Tags { get; init; }
Gets or sets the options related to tag functionality.
Returns:
TagsOptions ContentEngineContentOptions<TFrontMatter>.Tags