basic instruction
hexo init –>初始化一个新博客
hexo n –>新建一个博客文档
hexo s –>加载本地博客服务器hexo clean –>清理数据库
hexo g –>生成、更新博客hexo d –>部署到远端,即github下的html网站
update flow
hexo clean –> hexo g –> hexo s –> hexo d
use hexo theme from github:
- git clone https://github.com/xxx.git theme/xxx
- _config.yml 中替换theme为新文件夹名称
- hexo clean –> hexo g –> hexo s –> hexo d