Github+Hexo+Next搭建静态博客


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搭建静态博客)