Skip to content
HomePagesHomePages template kit

ReconcileContext

The arguments a `rule()` body receives: the current `site` values (typed to the template's composed sections, flat across every page) and the same derive-time `facts` view a `compute()` callback receives.

The arguments a rule() body receives: the current site values (typed to the template’s composed sections, flat across every page) and the same derive-time facts view a compute() callback receives.

Import from @homepages/template-kit.

export interface ReconcileContext<Sections extends Record<string, SectionInstanceHandle>> {
readonly site: SiteView<Sections>;
readonly facts: Facts;
}