npm run build
cp -R dist/. .
git add -A
git commit -m "..."
git push origin master src/content/profile/zh-cn.md / src/content/profile/en.md
Edit profile details
Update the bilingual profile files first. The homepage reads directly from them.
/ Setup
This page gathers the files you will edit next for profile details, posts, and comment configuration. No admin UI, just direct file-based updates.
src/content/profile/zh-cn.md / src/content/profile/en.md
Update the bilingual profile files first. The homepage reads directly from them.
src/content/blog/zh-cn/ / src/content/blog/en/
Add Markdown files under the Chinese and English post folders. Translated versions of the same post must share one translationKey.
site.config.mjs
Site name, base path, and Giscus comment parameters all live in one shared config file.
npm run build && cp -R dist/. . && git add -A && git commit -m "..." && git push origin master
The repo currently uses GitHub Pages legacy publishing, so build locally first and then sync dist back to the repository root.
Publish command
npm run build
cp -R dist/. .
git add -A
git commit -m "..."
git push origin master