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

FolderMetadata Pennington.Content

Metadata for a content folder discovered from a _meta.yml sidecar. Lets a folder declare its own display title, its position in the parent's nav level, and (optionally) its participation in the llms.txt sidecar.

Properties

FolderUrlPrefix string
Canonical URL prefix in /foo/bar/ form (always leading and trailing slash) identifying the folder this metadata applies to.
LlmsDescription string
When non-null, opts the subtree into llms.txt generation; the value is the subtree blurb.
Order int?
Sort order of the folder within its parent level; overrides emergent min(children) and any index.md order when set.
Title string
Display title for the folder; overrides FormatSectionTitle and any index.md title when set.

Constructors

FolderMetadata

#
public FolderMetadata(string FolderUrlPrefix, string Title, int? Order, string LlmsDescription)

Metadata for a content folder discovered from a _meta.yml sidecar. Lets a folder declare its own display title, its position in the parent's nav level, and (optionally) its participation in the llms.txt sidecar.

Parameters

FolderUrlPrefix string
Canonical URL prefix in /foo/bar/ form (always leading and trailing slash) identifying the folder this metadata applies to.
Title string
Display title for the folder; overrides FormatSectionTitle and any index.md title when set.
Order int?
Sort order of the folder within its parent level; overrides emergent min(children) and any index.md order when set.
LlmsDescription string
When non-null, opts the subtree into llms.txt generation; the value is the subtree blurb.

Pennington.Content.FolderMetadata

namespace Pennington.Content;

/// Metadata for a content folder discovered from a _meta.yml sidecar. Lets a folder declare its own display title, its position in the parent's nav level, and (optionally) its participation in the llms.txt sidecar.
public record FolderMetadata
{
    /// Metadata for a content folder discovered from a _meta.yml sidecar. Lets a folder declare its own display title, its position in the parent's nav level, and (optionally) its participation in the llms.txt sidecar.
    
public FolderMetadata(string FolderUrlPrefix, string Title, int? Order, string LlmsDescription)
; /// Canonical URL prefix in /foo/bar/ form (always leading and trailing slash) identifying the folder this metadata applies to.
public string FolderUrlPrefix { get; set; }
/// When non-null, opts the subtree into llms.txt generation; the value is the subtree blurb.
public string LlmsDescription { get; set; }
/// Sort order of the folder within its parent level; overrides emergent min(children) and any index.md order when set.
public int? Order { get; set; }
/// Display title for the folder; overrides FormatSectionTitle and any index.md title when set.
public string Title { get; set; }
}