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 at the same URL with .md appended. 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

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

Html string
Rendered HTML body.
Title string
Title from the 404.md front 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

Title string
Title from the 404.md front matter (or a default when absent).
Html string
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; }
}