第一篇 post。順手記低咗由 hello world 到 Hexo 上線嗰段路。
點解開呢個 blog
兩個原因:
- 記憶會跌,寫低嘅嘢先至會留低
- 踩過嘅坑最值得 share —— 例如 Vercel “Other” preset 嗰個 deploy button 永遠 disable 嘅 root cause,我冇 Google 到直接答案,自己 trace 先知要加
package.json
Stack
| Layer | Choice |
|---|---|
| SSG | Hexo 7.3+ |
| Theme | Fluid 1.10+ |
| Plugin | feed / sitemap / abbrlink / wordcount / minifier |
| Host | Cloudflare Pages |
| Domain | www.aideas.life(Phase 2) |
詳細睇 README.md。
接落嚟會寫嘅嘢
- Fix entries(上面三條已經上咗):從 Vercel / Cloudflare 嗰輪 deploy 撞過嘅 bug,每次一個 root cause 一個 fix
- Project notes:bbhkgtech/fixes 嗰個 Sha Tin civic-reporting app 嘅 build log
- Tool quirks:BSD sed /
apply_patchon CJK path / sandbox-escalation pattern 嗰啲踩坑 - AI workflow:claude-mem + Codex + eve 嗰啲 toolchain 嘅 setup notes
Tech demo
順手 inline 試 Fluid 嘅 syntax highlight、TOC、blockquote、code block:
Bash
1 | # 一鍵 local preview |
YAML
1 | # _config.yml(Hexo 主配置) |
JavaScript
1 | // abbrlink config — 由 hexo-abbrlink 生成短鏈 |
Diff
1 | - Build output directory: . (撞 25 MiB cap) |
Quote
學而不思則罔,思而不學則殆。 —— 《論語·為政》
Roadmap
- Phase 0 ✅:Vercel hello world(PR #1)
- Phase 0.5 ✅:切 Cloudflare Pages,修三個 iteration:
- PR #2:補
package.json - PR #3:
package.jsonbuild script 隔離 files 入_site/
- PR #2:補
- Phase 1 🔧(current):Hexo 7.x + Fluid 1.10.x + 5 個 plugins
- Phase 2:custom domain
www.aideas.life+ DNS(A + CNAME) - Phase 3:comment(giscus)+ analytics(Plausible)+ AdSense 申請
連結
- Repo:bbhkgtech/www.aideas.life
- Production:www-aideas-life.pages.dev
- Theme:hexo-theme-fluid
Stay tuned。