HEXO a blog in a minute

一分钟用Hexo建博客

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

paste image

Hexo系列:(一)Hexo+GitHub pages搭建个人博客
NexT 开始使用
segmentfault markdown