Skip to main content

Content Management

Nocturne ships with Decap CMS — a browser-based editor at /admin/.

This section shows you how to edit every part of your site without touching code.


What You Can Edit​

SectionGuide
HomepageHome Page →
NavbarNavbar →
FooterFooter →
Sidebar WidgetsWidgets →
DocumentationDocs →
Blog PostsBlog →

How It Works​

Decap CMS reads and writes to JSON files in src/data/ and Markdown files in docs/, blog/, and src/pages/.

When you click Save:

  1. The file updates on disk
  2. The dev server rebuilds
  3. Your browser refreshes

In local mode, changes stay on your computer. In cloud mode, they commit to GitHub.


What You Need​

  • Node.js 18+ — installed
  • Nocturne — running locally
  • A browser — any modern browser

The Two Terminals​

To use the CMS locally, you need two terminals:

Terminal 1 — Decap server:

npx decap-server

Terminal 2 — Dev server:

npm start

Then open:

http://localhost:3000/admin/index.html

See Setup → for details.


Limitations​

Decap CMS cannot:

  • Create new folders in docs/
  • Create new _category_.json files
  • Edit docusaurus.config.ts
  • Edit sidebars.ts

These must be done manually in code. See Limits → for details.


What's Next?​

Let's set up the CMS.

👉 Next: Setup →