/ Setup

Content entry

This page gathers the files you will edit next for profile details, posts, and comment configuration. No admin UI, just direct file-based updates.

Edit profile details

Update the bilingual profile files first. The homepage reads directly from them.

src/content/profile/zh-cn.md / src/content/profile/en.md Open file

Write new posts

Add Markdown files under the Chinese and English post folders. Translated versions of the same post must share one translationKey.

src/content/blog/zh-cn/ / src/content/blog/en/ Open folder

Site and comments config

Site name, base path, and Giscus comment parameters all live in one shared config file.

site.config.mjs Open file

Publish flow

The repo currently uses GitHub Pages legacy publishing, so build locally first and then sync dist back to the repository root.

npm run build && cp -R dist/. . && git add -A && git commit -m "..." && git push origin master Publish command

Publish

npm run build
cp -R dist/. .
git add -A
git commit -m "..."
git push origin master
Back home