Skip to content
Corex

Templates

Templates are FSE page-type layouts in the theme. They assemble template parts (header/footer) and patterns — presentation only, no business logic (constitution Principle I). Assign a custom template from the page editor’s Template panel.

TemplatePage type
front-pagethe homepage
pagea standard inner page (title + content)
singlea single post / detail page
archive / indexa listing
searchsearch results
404not found

The Portfolio kit adds archive-project and single-project.

Assignable to any page (registered in theme.json customTemplates):

TemplateComposesUse it for
Landing page (page-landing)hero → features → stats → testimonial → CTA patternsa marketing landing page
Contact page (page-contact)section-header + contact (form) patternsa contact page
Form page (page-form)title + content + the corex/form blocka page built around a form

When to use which: the default page for ordinary content; Landing for a conversion-focused page; Contact/Form when the page’s purpose is a form. Build new page types as templates (compositions), not as blocks.