hexo安装及问题

hexo安装,以及环境安装详见 http://zipperary.com/2013/05/28/hexo-guide-1/#more 的hexo系列教程。

本地预览没有问题,在同步到github时,也就是hexo d 时会出现一些问题:

问题在于修改_config.yml的格式问题

1、空格问题  :

deploy:
  type: github
  repository: http://github.com/lorneZ/blog.git
  branch: master

冒号后面也要加空格。

2.hexo3.0以后  github要改成git

而且   hexo d 之前 需要npm install hexo-deployer-git --save

原文地址:https://www.cnblogs.com/zlovef/p/4505295.html