HEXO使用github
本来使用gitcafe,但国内东西太不靠谱,隔三差五宕机,还是github靠谱
安装:
官网文档: https://hexo.io/zh-cn/
新版本需要安装git插件:https://github.com/hexojs/hexo-deployer-git
在master分支
github:
1.创建username.github.io仓库
2.自定义域名
- 域名解析https://help.github.com/articles/tips-for-configuring-an-a-record-with-your-dns-provider/
- 在本地hexo/source目录下创建CNAME文件,只写自己的域名