RenderedBlogPost Pennington.Content
A blog post's front matter, canonical URL, and rendered HTML body.
Properties
FrontMatterTFrontMatter- Parsed front matter for the post.
Htmlstring- Rendered HTML body.
UrlUrlPath- 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
FrontMatterTFrontMatter- Parsed front matter for the post.
UrlUrlPath- Canonical URL of the post.
Htmlstring- 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; }
}