hexo常用操作
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.
hexo常用操作
部署
先在本地预览1
hexo server # hexo s,本地服务器预览
预览后觉得没问题了,就可以部署了1
2hexo generate # hexo g,构建项目静态文件,输出到/public
hexo deploy # hexo d,部署
生成新md
1 | hexo new '文章名' # hexo n '文章',生成新的md文件 |