1 min read

Hello world

A first editable entry for the CMS package.

cmsmarkdoc

This entry lives in content/blog/en/hello-world/index.mdoc.

Edit it directly in your editor, or use the Keystatic admin UI at /keystatic (dev only). Publishing is a git commit — there is no database behind this page.

Why Markdoc

Keystatic stores this collection as .mdoc files: plain Markdown extended with Markdoc tags, rendered to React on the server by renderMarkdoc from @package/cms/render.

One folder per locale

The first path segment is the locale: blog/en/hello-world and blog/es/hola-mundo are two independent posts, each with its own slug. A locale lists exactly what has been translated — an untranslated post is absent from /es/blog rather than falling back to English.