Open liusheng opened 5 years ago
可参见:zhuanlan.zhihu.com/p/34379150
写好博客以后执行: hexo clean && hexo g && hexo d 注意,如果有自己的域名,不需要执行hexo clean
hexo clean && hexo g && hexo d
hexo clean
npm install https://github.com/CodeFalling/hexo-asset-image --save hexo clean hexo d -g
ref: http://etrd.org/2017/01/23/hexo%E4%B8%AD%E5%AE%8C%E7%BE%8E%E6%8F%92%E5%85%A5%E6%9C%AC%E5%9C%B0%E5%9B%BE%E7%89%87/
部署
可参见:zhuanlan.zhihu.com/p/34379150
新建和上传新的博客
写好博客以后执行:
hexo clean && hexo g && hexo d
注意,如果有自己的域名,不需要执行hexo clean
hexo 博客中引用本地图片
ref: http://etrd.org/2017/01/23/hexo%E4%B8%AD%E5%AE%8C%E7%BE%8E%E6%8F%92%E5%85%A5%E6%9C%AC%E5%9C%B0%E5%9B%BE%E7%89%87/