IFrontMatter
interfaceNamespace: MyLittleContentEngine.Models
Interface for front matter. FrontMatter is the metadata of a Markdown content page.
Declaration
public interface IFrontMatter
Methods
AsMetadata
methodpublic abstract Metadata AsMetadata()
Converts the FrontMatter into structured metadata for RSS and SiteMap generation.
Returns:
Metadata
Propertys
IsDraft
propertypublic bool IsDraft { get; init; }
If true, the content page will not be generated.
Returns:
bool IFrontMatter.IsDraft
Tags
propertypublic string[] Tags { get; init; }
Tags for the content.
Returns:
string[] IFrontMatter.Tags
Title
propertypublic string Title { get; init; }
The title of the content page.
Returns:
string IFrontMatter.Title
Uid
propertypublic string? Uid { get; init; }
Currently unused, but maybe one day we can support xref links.
Returns:
string? IFrontMatter.Uid