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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容