http://www.jianshu.com/p/465830080ea9
http://www.zhihu.com/question/35964327
http://blog.csdn.net/yhqbsand/article/details/22763411
http://www.jianshu.com/p/05289a4bc8b2
https://help.github.com/articles/generating-ssh-keys/
npm install hexo-deployer-git --save
站点配置好了,我想发表一篇文章,怎么做呢?
hexo new "my new post"
- 在
H:\hexo\source\_posts
中打开这个文件(打开方式用“记事本”即可),配置开头。
1 2 3 4 5 6 | title: my new post #可以改成中文的,如“新文章” date: 2013-05-29 07:56:29 #发表日期,一般不改动 categories: blog #文章文类 tags: [博客,文章] #文章标签,多于一项时用这种格式 --- #这里是正文,用markdown写,使用方法参照我原来的博客[Introduction to markdown](http://zipperary.com/2013/05/22/introduction-to-markdown/) |
hexo server
,访问localhost:4000
预览效果。(退出server用Ctrl+c)hexo deploy
,同步到github。访问网站看看效果。