Bookmark Memorandum

Bookmark Memorandum

Markdown references

Build a free static blog (GitHub + Hexo)

Install Hexo

1
2
3
4
5
npm install hexo-cli -g
npm install hexo --save

# If npm is slow, try the taobao registry
npm install -g cnpm --registry=https://registry.npm.taobao.org

Install Hexo plugins

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
npm install hexo-generator-index --save
npm install hexo-generator-archive --save
npm install hexo-generator-category --save
npm install hexo-generator-tag --save
npm install hexo-server --save
npm install hexo-deployer-git --save
npm install hexo-deployer-heroku --save
npm install hexo-deployer-rsync --save
npm install hexo-deployer-openshift --save
npm install hexo-renderer-marked@0.2 --save
npm install hexo-renderer-stylus@0.2 --save
npm install hexo-generator-feed@1 --save
npm install hexo-generator-sitemap@1 --save

Git tips

Fix “Filename too long” on Windows

1
git config --global core.longpaths true

Git + SSH usage: https://segmentfault.com/a/1190000002645623

使用 Hugo 构建
主题 StackJimmy 设计