HEXO a blog in a minute

1
2
3
4
5
npm install -g hexo-cli
hexo init marvinxu.github.io
cd marvinxu.github.io
npm install
npm install hexo-deployer-git --save

修改 _config.yml

1
2
3
4
deploy:
type: git
repo: https://github.com/MarvinXu/marvinxu.github.io.git
branch: master

1
hexo deploy

访问http://marvinxu.github.io/,成功~

切换主题

1
git clone https://github.com/iissnan/hexo-theme-next themes/next

修改 _config.yml

1
theme: next