Skip to content

Writing a page

Use with AI

This page

Ask ClaudeAsk ChatGPT

All of CaraCMS Docs

Connect once, and it answers your questions from this help.

Connect to ClaudeConnect to ChatGPT

Every page on this site is a CaraCMS page: a JSON file in content/pages/, edited in the editor at /admin. A page's address is its path, so content/pages/guides/writing-a-page.json is this page, at /guides/writing-a-page.

Adding a page

  1. Open the editor at /admin. With the dev server running, it opens straight away; on the live site, sign in first.

  2. Add a page from the Pages tree, in the folder it belongs to. The folder is the first part of its address.

  3. Give it a title and a short description: the description is what search engines and llms.txt show.

  4. Add its blocks: text, an aside, steps, a table or a screenshot. The next page, The docs blocks, shows each one.

  5. On the live site, Publish puts it live. Until then it's a draft only editors see.

Where a page shows in the sidebar

The sidebar is the Pages tree. A folder in content/pages/ with no page of its own, like guides/, is a group, and the tree's order is the sidebar's order. Home is the page at / and isn't in the sidebar.

Prev and next, at the bottom of each page, follow the sidebar.

What AI tools get

Each page also has a plain Markdown copy at its address plus .md (this one is at /guides/writing-a-page.md), and /llms.txt lists them all. The page actions at the top of each page copy it or open it in an AI tool, and /mcp lets an AI assistant search this site and read its pages.