- 生成静态文件:
hexo g - 清空静态文件:
hexo cl - 在本地运行:
hexo s - 部署到远端:
hexo d - 生成静态文件并部署到网站:
hexo d -g或hexo g -d - 创建新文章:
hexo new post <name>或hexo n <name> - 创建草稿:
hexo new draft <name> - 显示草稿
hexo --draft - 发布草稿
hexo publish <name> - 创建新页面:
hexo new page <name>
Hexo 常用命令
2023/10/21
Hexo