CMS Workflow

How to create, edit, and publish content using Sanity Studio.

Last updated:

Accessing Sanity Studio

Sanity Studio is embedded directly in the BloggFast app. Access it at /studio when running locally or in production. Log in with your Sanity account credentials.

Note

Only users with access to your Sanity project can log in to the Studio. You can invite team members from the Sanity dashboard at sanity.io/manage.

Content types

BloggFast comes with the following content types pre-configured in Sanity:

TypePurpose
postBlog articles with title, slug, Portable Text body, cover image, author reference, and categories
categoryPost categories for organizing content
authorAuthor profiles with name, bio, avatar image, and slug
blockContentRich text definition — headings, paragraphs, bold, italic, links, images, code blocks

Note

Site settings (site name, social links, etc.) are stored in Postgres via the SiteSettings database model — not in Sanity. Manage them at /admin/settings in the admin dashboard.

Creating a post

  1. Open Sanity Studio at /studio
  2. Click Posts in the left navigation
  3. Click + New Post
  4. Fill in the title, slug, cover image, and body
  5. Assign a category and author
  6. Click Publish when ready to go live

The body field uses Sanity's Portable Text editor — a block-based rich text format that supports headings, lists, images, links, code blocks, and custom components.

Publishing and previewing

Sanity has two document states: Draft (unpublished) and Published. Your live site only renders published content. Draft documents are only visible in Studio.

If you configure a Next.js preview mode webhook, editors can preview draft content on the live site before publishing. See the Sanity docs for setup instructions.