Designed Page Settings
Find the JSON record for a designed page, edit its text and section options, and reuse collection content while keeping its layout and media settings consistent.
Find the matching JSON
Section titled “Find the matching JSON”A designed page has two main parts: an Astro route defines section order, and a record in src/content/pages/ supplies its data. For example, Home I loads home-1 with template HomeOne; Home V loads home-5 with HomeFive.
Open the route first to identify its designedPage(id, template) call, then edit the matching JSON. Keep the id, template and the section props consistent. The loader validates the template instead of silently adapting another page’s data.
Edit text and section options
Section titled “Edit text and section options”In home-1.json, copy contains interface text and the page heading. features contains the supplied feature items; edit an item’s title and text while retaining options required by that design. Fields such as header, footer, hero and other section settings depend on the selected template.
Change one section at a time and preview it. JSON requires quoted keys and strings, with no trailing commas. Run npm run check and npm run build after changing structured options. Use the matching installed public types and schemas when adding options; a field from another template may not apply.
Reuse content records
Section titled “Reuse content records”Designed sections can reference collection records rather than duplicating their text:
$contentselects a record by its content identity, with a view and presentation choices.$queryselects published collection content.$taxonomyresolves taxonomy labels and counts.
These objects must match the section’s expected data shape. Use an existing reference from the same kind of section as your starting point. A selection may also specify presentation options that intentionally override record defaults.
Editing a collection record updates the views that use it. Adding a record does not automatically add it to every handpicked section: curated references stay curated. See Content and Collections for IDs, authors, taxonomies and drafts.
Layout and media
Section titled “Layout and media”Page-specific header/footer choices remain in the designed page. Shared site and content-detail settings are described in Global Settings.
Designed JSON uses logical image output URLs. Moving a source image does not mean rewriting those URLs. Follow the registered image workflow.
Get all RT-Themes designs, updates and support with a single Club license.
Join the Club