load_featured

SolidGroundUX DocumentationSolidGroundUX
NL

fn: load_featured

Purpose

Load curated Featured routes from `config/featured.cfg`.

Signature

def load_featured(root: Path) -> list[FeaturedItem]:

The configured route is language-neutral. During generation the route is resolved to the matching page in the language currently being rendered. Optional images are presentation hints; title and summary always come from the target page metadata so translations stay authoritative.

Usage

load_featured(root)