Article

A practical guide to content models for technical docs

Pat June 1, 2026

A strong content model starts with consistent metadata and clear entity types. This guide explains how article, documentation page, and workout demo models map to frontend rendering and backend storage.

Content model principles

  • title: human-readable heading for discovery and page content.
  • slug: stable URL segment for routes and references.
  • excerpt: short summary used in listings and previews.
  • tags: filterable metadata for category discovery.
  • publishedAt: date used for sorting and archive behavior.

Static markdown vs. database-backed content

Static markdown is ideal for a fast, easily-editable content pipeline during early launch. A D1-backed content source can be introduced later to support admin publishing, search indexing, and runtime CMS features.

Implementation

This article is stored as Markdown and rendered through the same content model used by the articles listing page.