This site provides a machine-readable index at /llms.txt.

Skip to main content Skip to navigation

SitemapCandidate Pennington.Feeds

A candidate row for the sitemap — a route and (optionally) the front matter metadata that was parsed for it. For markdown sources, metadata carries Date (lastmod) and IsDraft (filter). For programmatic / Razor sources we typically have no metadata, which is fine: those entries are emitted with their URL and no lastmod.

Properties

Metadata Pennington.FrontMatter.IFrontMatter?
Default: null
Front matter for the route, when available.
Route Pennington.Routing.ContentRoute
Route to emit in the sitemap.

Constructors

.ctor

#
public sealed record SitemapCandidate(ContentRoute Route, IFrontMatter? Metadata);

A candidate row for the sitemap — a route and (optionally) the front matter metadata that was parsed for it. For markdown sources, metadata carries Date (lastmod) and IsDraft (filter). For programmatic / Razor sources we typically have no metadata, which is fine: those entries are emitted with their URL and no lastmod.

Parameters

Route ContentRoute
Route to emit in the sitemap.
Metadata IFrontMatter?
Front matter for the route, when available.

Pennington.Feeds.SitemapCandidate

namespace Pennington.Feeds;

/// A candidate row for the sitemap — a route and (optionally) the front matter metadata that was parsed for it. For markdown sources, metadata carries Date (lastmod) and IsDraft (filter). For programmatic / Razor sources we typically have no metadata, which is fine: those entries are emitted with their URL and no lastmod.
public record SitemapCandidate
{
    /// A candidate row for the sitemap — a route and (optionally) the front matter metadata that was parsed for it. For markdown sources, metadata carries Date (lastmod) and IsDraft (filter). For programmatic / Razor sources we typically have no metadata, which is fine: those entries are emitted with their URL and no lastmod.
    
public sealed record SitemapCandidate(ContentRoute Route, IFrontMatter? Metadata);
/// Front matter for the route, when available.
IFrontMatter? Metadata
; /// Route to emit in the sitemap.
ContentRoute Route
; }