Static personal blog generated from a Sonic backup.
Generate the static pages:
npm run generateRun locally:
npm run serveBy default the generator publishes only Sonic posts with type = 0 and status = 0.
The site is generated in two languages:
/zh/uses the original Chinese posts from the Sonic backup./en/uses generated English translations fromscripts/english-posts.mjs.
The root page detects the browser language, remembers the manual language switch, and redirects to the matching language version.