- {/* Page header — suppressed on record pages (the page:header component
- in the header region renders the record-bound title instead).
+ {/* Implicit page title — the fallback heading for a page that does NOT
+ author its own `page:header`. Suppressed whenever that component
+ owns the h1 (always on record pages, and on any page carrying a
+ titled `page:header`), so the document never has two `h1`.
`title` is the objectui spelling; the spec's PageNodeSchema declares
`label` (required), so dual-read it — mirrors the fallback
DashboardRenderer already uses (framework#1878 §3 recheck). */}
- {pageType !== 'record' && (pageTitle || schema.description) && (
+ {(showPageTitle || showPageDescription) && (
- {pageTitle && (
+ {showPageTitle && (
{pageTitle}
)}
- {schema.description && (
+ {showPageDescription && (
{schema.description}
)}