English
Quick start
This documentation covers SuzuBlog 1.14.0. SuzuBlog uses Next.js, React, and Markdown files. It needs no database.
Deploy to Vercel
Deploy with Vercel to create a repository in your account and deploy the blog.
Use Node.js 24 and set ENABLE_EXPERIMENTAL_COREPACK to 1 so the build uses pnpm 12.16.1 from the repository's package.json.
Set up your site
- Edit
config.ymlin the project root. Set the title, author, language, andsiteUrl. Use your public origin without a trailing slash. - Replace the sample images in
public/imagesand update avatar, background, and icon paths. - Save posts in
posts/*.md. For example,posts/hello.mdbecomes/hello. - Edit
posts/_pages/About.mdandposts/_pages/Friends.mdfor the about and friends pages. - Push your changes and wait for Vercel to redeploy.
See site configuration, post settings, and Markdown syntax for the available options.
Preview locally
Use the Node.js version in .node-version and install pnpm 12.16.1, then run:
bash
pnpm install
pnpm devOpen http://localhost:3000. See local development for build and deployment steps.
Update the template
Open Actions in your GitHub repository, select Sync SuzuBlog Main Branch 🎐, and choose Run workflow. The workflow needs permission to write repository contents.
It updates template files and commits directly to main, preserving posts, public, and config.yml. Custom changes in other files may be overwritten. Commit or back them up before running it.
After syncing, compare your config with the upstream config.yml for new fields. Run pnpm install and pnpm build, review the result, and deploy.