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

RenderedBlogPost Pennington.Content

A blog post's front matter, canonical URL, and rendered HTML body.

Properties

FrontMatter TFrontMatter
Parsed front matter for the post.
Html string
Rendered HTML body.
Url UrlPath
Canonical URL of the post.

Constructors

RenderedBlogPost

#
public RenderedBlogPost`1(TFrontMatter FrontMatter, UrlPath Url, string Html)

A blog post's front matter, canonical URL, and rendered HTML body.

Parameters

FrontMatter TFrontMatter
Parsed front matter for the post.
Url UrlPath
Canonical URL of the post.
Html string
Rendered HTML body.

Pennington.Content.RenderedBlogPost

namespace Pennington.Content;

/// A blog post's front matter, canonical URL, and rendered HTML body.
public record RenderedBlogPost
{
    /// Parsed front matter for the post.
    
public TFrontMatter FrontMatter { get; set; }
/// Rendered HTML body.
public string Html { get; set; }
/// A blog post's front matter, canonical URL, and rendered HTML body.
public RenderedBlogPost`1(TFrontMatter FrontMatter, UrlPath Url, string Html)
; /// Canonical URL of the post.
public UrlPath Url { get; set; }
}