Documentation

Write a Blog Post

Publish a product tutorial or article with an author, category, and cover image

Create an article in content/blog/ and open /blog to preview it. You can also replace the existing welcome article with an introduction to your product.

1. Write Your First Post

Create content/blog/my-first-post.mdx:

content/blog/my-first-post.mdx
---
title: Introduce Your Product with an Image
description: Create a product image from a short description
date: 2026-10-27
published: true
categories: [product]
author: vibe-any
---

## Prepare Your Product Description

Explain what readers need, then show the steps and the result.

Change the title, summary, date, and body to fit your article. title, date, and author are required. The example uses the existing vibe-any author and product category.

Keep pnpm dev running and open /blog/my-first-post to check the article. Then open /blog to check its card. Newer articles appear first.

2. Add Your Author Details

Edit title, avatar, and bio in content/authors/vibe-any.mdx and vibe-any.zh.mdx with your name, avatar, and introduction.

For another author, copy the pair and rename them, for example to john.mdx and john.zh.mdx. Use author: john in the article. The author's visible name still goes in title.

3. Add a Cover and Category

A cover is optional. Put your image in public/blog/ and add this field at the top of the article:

image: /blog/my-post.webp

You can start with the existing product category. For a new category, create tutorial.mdx and tutorial.zh.mdx in content/categories/, with translated titles:

content/categories/tutorial.mdx
---
title: Tutorial
description: Guides to completing common tasks
slug: tutorial
---

Set categories: [tutorial] in the article. Keep the same slug in both language versions.

4. Add Chinese and Publish

Create content/blog/my-first-post.zh.mdx. Translate the title, summary, and body, keeping the author ID and category unchanged. Use links for the appropriate language in each article.

Check /zh/blog and /zh/blog/my-first-post. Click the category and confirm that the article appears. Run pnpm build, then deploy after it passes.

published: false only hides an article from the list; its URL remains accessible. Keep drafts outside content/blog/ until they are ready to be public.

Ask Your AI Tool

Write an English and Chinese blog post for [product] about [topic],
using the existing article format. Cover supported features with clear
steps and results. Reuse or update the author information. Use [image
path] if a cover is needed. Check the list, article, and category pages,
and tell me where to preview them.

When you release a new feature, you can also publish a changelog.

On this page