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.

Quick Start

创建一个新页面

1
2
3
4
5
6
$ hexo new "My New Post"
//or
$ hexo new post "My New Post"

//新的普通界面
$ hexo new page "My New Page"

More info: Writing

本地运行

1
2
3
4
5
6
$ hexo server

//

$ hexo s

More info: Server

生成静态文件

1
2
3
4
5
$ hexo generate

//or

$ hexo g

More info: Generating

部署站点

1
2
3
4
5
$ hexo deploy

//or

$ hexo d

More info: Deployment$$

清除静态资源

1
$ hexo clean

运行三连

1
hexo clean && hexo g && hexo s

部署三连

1
hexo clean && hexo g && hexo d