Personal homepage and blog in one repository.
| Path | Role |
|---|---|
/ (index.html, …) |
Academic homepage |
blog-src/ |
Hexo blog source (Markdown, theme, config) |
/blog/ (built) |
Published blog |
# Blog only (http://localhost:4000/blog/)
cd blog-src && npm ci && npx hexo server
# Full site into _site/ (homepage + /blog)
./scripts/build-site.shRequires Node.js and Pandoc (Hexo uses hexo-renderer-pandoc).
Push to master. GitHub Actions builds the site and publishes it.
One-time setup: repo Settings → Pages → Build and deployment → Source → GitHub Actions.
After that works, turn off Pages on the old harperchen/blog project site so /blog is served only from this repo. You can archive BlogSource / blog when ready.