This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

BlogPostRef Pennington.Content

A blog post's typed front matter paired with its canonical URL, for listings.

Properties

FrontMatter TFrontMatter
Parsed front matter for the post.
Url UrlPath
Canonical URL of the post.

Constructors

BlogPostRef

#
public BlogPostRef`1(TFrontMatter FrontMatter, UrlPath Url)

A blog post's typed front matter paired with its canonical URL, for listings.

Parameters

FrontMatter TFrontMatter
Parsed front matter for the post.
Url UrlPath
Canonical URL of the post.

Pennington.Content.BlogPostRef

namespace Pennington.Content;

/// A blog post's typed front matter paired with its canonical URL, for listings.
public record BlogPostRef
{
    /// A blog post's typed front matter paired with its canonical URL, for listings.
    
public BlogPostRef`1(TFrontMatter FrontMatter, UrlPath Url)
; /// Parsed front matter for the post.
public TFrontMatter FrontMatter { get; set; }
/// Canonical URL of the post.
public UrlPath Url { get; set; }
}