在多台電腦寫 Hexo blog
簡單記錄一下。
我把 node_modules/
、scaffolds/
、source/
、themes/
、_config.yml
、package.json
放到 bitbucket 的 private git repository,另一台電腦裝 node.js 跟 hexo,clone repository 下來就可以了。
原本順利弄完也就好了,我就手賤的做了 npm update -g
更新 hexo,然後 generate 就爛了。後來約莫是 hexo init .
再 npm install
,然後 merge 一些改過的 theme 檔案跟 config,才總算好了。