wiki/knowledge/website/new-dawn-dynamic-copy-blocks.md Layer 2 article 476 words Updated: 2025-11-21
↓ MD ↓ PDF
website template a-new-dawn development cms

New Dawn Dynamic Copy Blocks Implementation

Overview

The A New Dawn Therapy website uses a shared page template for service pages (e.g., Trauma, Anxiety, Depression). A bug in the current template setup causes any copy edit made in the template editor to propagate across all service pages simultaneously, making it impossible to preview or set page-specific content.

The fix is to replace the static copy blocks in the template with dynamic copy blocks, which allow each individual page to carry its own content while still inheriting the shared layout, fonts, and formatting.

Problem

When a developer or content editor attempts to edit the header or body copy on a single service page (e.g., the Trauma page), the change is applied globally to every page built from that template. There is no way to isolate edits to one page in the current configuration.

This blocks the content workflow: Sebastian cannot preview how suggested headers and subheaders will render on a specific page before publishing.

"If I tried to edit it, like if I went to edit in the trauma page, all the coordinates changed — if I try to change the header for one of the pages, it would change it on all the pages."
— Sebastian Gant, 2025-11-21 call

Solution

A developer will update the template to use dynamic copy blocks (sometimes called dynamic fields or per-page overrides in CMS contexts). The change will:

  1. Keep the shared template structure intact (layout, fonts, section order, styling).
  2. Allow the copy within each block to be set independently per page.
  3. Enable editors to preview content changes on a single page without affecting others.

No visual or structural changes to the site are expected as a result of this fix.

Implementation Notes

Relationship to Content Workflow

This fix is a prerequisite for the full [1] service page content workflow:

  1. Katie drafts 1–2 paragraphs per service topic in the shared document and marks with an emoji when ready.
  2. Sebastian expands the draft, adds H2s and FAQs, and SEO-optimizes.
  3. Sebastian previews the copy in the template on the correct page — this step requires the dynamic copy fix.
  4. Page is marked yellow (ready to review) → green (approved) in the shared doc.

Without dynamic copy blocks, step 3 is not reliably possible.