Skip to content

Layout variants

Configure four independent layout families in theme.config.ts:

layouts: { home: 'marketplace', catalog: 'grid', course: 'sidebar', learn: 'rail' }

Home variants are editorial, marketplace, and funnel; course variants are sidebar, banner, and showcase; learn variants are rail, focus, and theater; catalog variants are grid and list.

Variants receive a page-assembled view model. They do not fetch collections or make access decisions, so changing a layout cannot change routes, JSON-LD, payment behaviour, or the prerender boundary.