Hello World

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

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

常用命令

初始化

把一个空文件夹变成一个空hexo

1
$ hexo init

清理

把之前生成的东西清理,重新生成

1
$ hexo clean

生成并发布/运行本地服务

生成并运行本地服务

1
$ hexo s -g

生成并发布

1
$ hexo d -g