IFrontMatter

interface

Namespace: MyLittleContentEngine.Models

Interface for front matter. FrontMatter is the metadata of a Markdown content page.

Declaration

public interface IFrontMatter

Methods

AsMetadata

method
public abstract Metadata AsMetadata()
Converts the FrontMatter into structured metadata for RSS and SiteMap generation.
Returns: Metadata

Propertys

IsDraft

property
public bool IsDraft { get; init; }
If true, the content page will not be generated.
Returns: bool IFrontMatter.IsDraft

Tags

property
public string[] Tags { get; init; }
Tags for the content.
Returns: string[] IFrontMatter.Tags

Title

property
public string Title { get; init; }
The title of the content page.
Returns: string IFrontMatter.Title

Uid

property
public string? Uid { get; init; }
Currently unused, but maybe one day we can support xref links.
Returns: string? IFrontMatter.Uid