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
草稿
新建草稿
1 | $ hexo new draft <title> |
预览草稿
1 | $ hexo server --drafts |
发布:将草稿发布为文章
1 | $ hexo publish [layout] <filename> |
原理就是两个文件夹的相互切换