Contact Us

REQ-00204

deferred functional optional system / content-system

Statement

The system shall provide a preview route that renders any content entry (including drafts) in full page context, accessible only in development or via an authenticated surface, and excluded from sitemap and robots outputs.

Rationale

Drafts are currently excluded from all build outputs (REQ-00062, REQ-00063). There is no mechanism to review a draft in its full rendered context without removing the draft flag. A dedicated /preview/[collection]/[id]/ route tree enables content review without risking accidental exposure in production.

Notes

Deferred: primary value is for headless CMS integration, where non-technical editors need authenticated preview URLs to review draft content in full page context. Until a CMS is selected, the auth scheme and preview protocol cannot be designed correctly — most headless CMSes (Sanity, Contentful, Strato) have specific preview conventions the route should conform to. In dev mode, drafts already render at their real URLs via existing guards, so there is no current capability gap.

Topics

Owner: content-authoring

Related: rendering-runtime , seo-metadata

Related Requirements

  • REQ-00062 Draft content shall be excluded from sitemap and indexing outputs.
  • REQ-00063 Draft content shall imply noindex/nofollow directives.

Tags

Search

Search across pages and articles. Use arrow keys to navigate results.

Search across pages and articles.

Loading search...

Search is unavailable. Please try again later.

    No results for ""

    Try different keywords or fewer words.