Automate now

Astro CMS: Editing a Static Astro Site Without WordPress

Astro is a framework that builds websites, not a content management system. There is no login page, no editor and no media library in Astro itself. If you are moving a WordPress site to Astro, that is the first thing to settle: who will edit the content, and how often? The answer ranges from “nobody needs a dashboard, we edit Markdown files” to “an editorial team publishes daily and needs a visual editor”.

Facts below come from Astro’s documentation and each CMS’s own site, read on 6 December 2026. Beehexa sells a migration of WordPress sites to static Astro sites, so we have a stake in this question. We say where that matters. Sources are at the end.

What Astro gives you: content collections

Astro’s docs define a content collection as “a set of related, structurally identical data”: for example all your blog posts. The entries can live as Markdown, MDX or JSON files in your project, or be “fetched from remote sources such as a database, CMS, or API endpoint”. Each collection has a loader that says where entries come from and an optional schema that checks every entry with Zod, so a post with a missing title or a wrongly typed date fails the build instead of reaching visitors.

Astro has two kinds:

  • Build-time collections are read when you build the site and saved to a data store. The built-in glob() and file() loaders read local files.
  • Live collections fetch their data when a page is requested, not at build time. Astro’s docs list limits: no MDX, no image optimization and no data store persistence, and there are no built-in live loaders, so you write one.

That is enough for many sites. beehexa.com keeps its posts and pages as Markdown files in a Git repository, and edits go through pull requests. It does not use a CMS. Nobody here needs a dashboard, but that is a statement about our team, not about yours.

When you need a CMS

Astro’s CMS guide says that if you want one, “you’ll want to choose a headless CMS”. A headless CMS stores and edits content but leaves the website to something else, here Astro. The guide lists 45 CMS guides, from ApostropheCMS and Contentful to Sanity, Strapi, WordPress and Zero. It also warns that many of those pages are stubs, so a name on the list is not a tested recipe.

Think about three kinds of editor:

Who edits How often Starting point
Developers or technical staff A few times a month Markdown files in the repository
Non-technical staff Weekly A Git-based CMS
A content team Daily, with drafts and approvals A hosted headless CMS

Git-based CMSs: edits become commits

A Git-based CMS gives editors a form in the browser and saves the result as a file in your repository. The site rebuilds when the file changes. Content stays in your own Git history, and there is no separate content database to host.

Keystatic

Astro’s docs describe Keystatic as “an open source, headless content-management system that allows you to structure your content and sync it with GitHub”. You install it with the Astro React and Markdoc integrations plus @keystatic/core and @keystatic/astro, and describe your content in a keystatic.config.ts file. In local mode it stores content on your computer, and its editor runs at /keystatic under the dev server. To let editors work in production through GitHub, the docs say you need a GitHub account with write permission. Keystatic’s own site says it is “a Thinkmill project” built “in the open”. We did not read its cloud pricing.

Decap CMS

Decap CMS, formerly Netlify CMS, is “an open-source, Git-based content management system”, and its site says it is MIT-licensed and “free today and will remain free for everyone, always”. Decap “will commit changes directly to your Astro project’s source repository”. Its editor lives at /admin and is configured in public/admin/config.yml. One catch for Cloudflare: Netlify Identity has first-class support, but on other hosts, Astro’s docs say you “must create your own OAuth routes”, which needs on-demand rendering with an adapter. That is extra work on a purely static site.

TinaCMS

Astro’s docs call TinaCMS “a Git-backed headless content management system”. In local mode you run tinacms dev -c "astro dev". In production it can commit to your GitHub repository, through either Tina Cloud or a self-hosted data layer. Tina’s pricing page lists a Free plan at $0 with 2 users, 3 roles, unlimited projects and 100 GB of bandwidth a month, and a Team plan at “$24 / project / month” ($290 billed yearly). The same page’s comparison table shows Team at $29 a month, and the page does not explain the difference, so confirm the price when you sign up.

Hosted headless CMS: Sanity

Sanity is “a headless content management system that focuses on structured content”, and Astro lists an official Sanity integration, a blog guide and a minimal template. It stores content in Sanity’s own hosted backend, not in your Git repository, so the site fetches the content from Sanity, at build time or at request time. We compared Sanity’s free and paid plans in our guide to headless WordPress. The same trade-off applies to the others on Astro’s list: more editor features and more control for a team, and one more service to pay for and depend on.

Keeping WordPress as the editor

There is a fourth option: leave WordPress where it is, as the CMS, and let Astro build the public site. Astro’s docs say WordPress “can also be used as a headless CMS”, using its built-in REST API at /wp-json/wp/v2/, with optional GraphQL through WPGraphQL. Editors keep their dashboard. The cost is that WordPress still needs hosting, updates and security patches, which is usually what people want to get rid of. See headless WordPress vs fully static.

Which to pick

If you… Consider
Are comfortable with Markdown and Git No CMS, content collections only
Have one or two non-technical editors and a GitHub repository Keystatic or TinaCMS
Host on Netlify and want a free, MIT-licensed editor Decap CMS
Host on Cloudflare Check how each CMS handles editor login in production first; Decap needs your own OAuth routes there
Have a content team with drafts, roles and daily publishing A hosted headless CMS such as Sanity
Do not want to give up the WordPress dashboard Headless WordPress, and accept that WordPress keeps running

What this means for a WordPress migration

When wp2cf migrates a WordPress site, the content becomes files in the new project: “change a file in content/pages/ and rebuild”, as its README puts it. That already makes it editable by anyone who can edit a file. Adding a Git-based CMS on top is a separate step, and a reasonable one when non-technical editors need a form. If you want our team to do the migration, see the AI static website builder.

FAQ

Does Astro have a built-in CMS?

No. Astro has content collections for Markdown, MDX and JSON files, and guides for connecting external CMSs. You choose and add the editor.

Do I need a headless CMS for a small business site?

Not necessarily. If one person edits a handful of pages a few times a month, editing Markdown files in the repository can be enough. Add a CMS when non-technical editors need a form, or when several people publish regularly.

Can I keep using WordPress as my CMS with Astro?

Yes. Astro can read from the WordPress REST API. WordPress still has to run somewhere, so you keep the hosting and update work that a static site would otherwise remove.

What does a CMS cost?

It depends. Decap CMS is free and MIT-licensed. TinaCMS has a free plan and a paid plan from about $24 to $29 a month per project, depending on which part of its pricing page you read. Keystatic’s cloud pricing and the hosted headless services have their own plans; read the vendor’s page for current prices.

Sources (checked 2026-12-06)