BlogPostRef Pennington.Content
A blog post's typed front matter paired with its canonical URL, for listings.
Properties
FrontMatterTFrontMatter- Parsed front matter for the post.
UrlUrlPath- 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
FrontMatterTFrontMatter- Parsed front matter for the post.
UrlUrlPath- 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; }
}