Create hexo
1 | # Hexo 常见命令 |
Init blog
1 | hexo init <folder> |
Quick Start
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Generate static files
1 | $ hexo generate |
More info: Generating
Run server
1 | $ hexo server |
More info: Server
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment
clean db.json and public
1 | $ hexo clean |
Create Draft and publish
1 | $ hexo new draft "草稿标题" |