RenderedNotFound Pennington.BlogSite
A rendered not-found body sourced from a content-root 404.md. Carries only a title and HTML — the post chrome (date, tags, series) does not apply to an error page.
Properties
Htmlstring- Rendered HTML body.
Titlestring- Title from the
404.mdfront matter (or a default when absent).
Constructors
RenderedNotFound
#public RenderedNotFound(string Title, string Html)
A rendered not-found body sourced from a content-root 404.md. Carries only a title and HTML — the post chrome (date, tags, series) does not apply to an error page.
Parameters
Titlestring- Title from the
404.mdfront matter (or a default when absent). Htmlstring- Rendered HTML body.
Pennington.BlogSite.RenderedNotFound
namespace Pennington.BlogSite;
/// A rendered not-found body sourced from a content-root 404.md. Carries only a title and HTML — the post chrome (date, tags, series) does not apply to an error page.
public record RenderedNotFound
{
/// Rendered HTML body.
public string Html { get; set; }
/// A rendered not-found body sourced from a content-root 404.md. Carries only a title and HTML — the post chrome (date, tags, series) does not apply to an error page.
public RenderedNotFound(string Title, string Html)
;
/// Title from the 404.md front matter (or a default when absent).
public string Title { get; set; }
}