hexo的基本使用方式

Posted by epimetheusQ on 2021-08-13

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

初始化一个blog项目

1
$ hexo init blog

创建一个日志文件

1
$ hexo new "My New Post"

More info: Writing

本地调试工具

1
$ hexo s

More info: Server

Generate static files

1
$ hexo g

More info: Generating

Deploy to remote sites

1
$ hexo d

More info: Deployment

清除缓存

1
hexo clean

上线流程

1
2
3
hexo clean
hexo g
hexo d