美文网首页Hexo程序员iOS Developer
Github+Hexo+Next搭建静态博客

Github+Hexo+Next搭建静态博客

作者: sunqiang | 来源:发表于2017-08-30 20:18 被阅读71次

title: Github+Hexo+Next搭建静态博客

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

安装Hexo

More info:install

安装Next主题

More info:Next
推荐mist风格

绑定自己的域名

  • 阿里云CNAME指向(yoursite).github.io.
    (注意最后有一个.)
  • 在本地(yoursite)/source目录下创建一个CNAME文件无后缀,内容直接放个人域名

FAQ

tags/catetories/about页面报404错解决方法

Quick Start

Create a new post

$ hexo new "My New Post"

More info: Writing

Run server

$ hexo server

More info: Server

Generate static files

$ hexo generate

More info: Generating

Deploy to remote sites

$ hexo deploy

More info: Deployment

相关文章

网友评论

    本文标题:Github+Hexo+Next搭建静态博客

    本文链接:https://www.haomeiwen.com/subject/suwxjxtx.html