hexo博客

弄了一天才弄好github+hexo,html


配置_config.yml老是出错git

注意看冒号":"以前是有空格的,只要有一个地方修改过,就会报错。github

# Sitenpm

title: Welcome to Cereshexo

hexo常见错误参考:网站

http://xuanwo.org/2014/08/14/hexo-usual-problem/ spa

博客做者:Xuanwo.net


发布到githubhtm

ERROR Deployer not found: githubdns


解决:$ npm install hexo-deployer-git --save

按照hexo官网的来:

http://hexo.io/docs/deployment.html


绑定域名

cmd运行ping username.github.io获取ip地址

复制下ip地址,而后到dnspod中添加两个记录:@和www记录类型都为A,记录值填写复制下来的ip地址。

再到注册域名的网站内填写f1g1ns1.dnspod.net.和f1g1ns2.dnspod.net.到NAMESERVERS当中。

百度经验详解:http://jingyan.baidu.com/album/a3761b2bb8e72e1577f9aa4b.html

相关文章
相关标签/搜索