avatar

Catalog
使用hexo写博客

当然要先进入hexo目录下面 shift + 右击
今天终于重新学习了hexo 写博客的方法,准备记录下,以免忘记
其实就几步

hexo clean #清理缓存

hexo g

hexo s -p 5000 #本地运行

hexo d #上传到github

写文章

hexo new "postName" #新建文章

hexo new page "pageName" #新建页面

其他

hexo deploy #部署到GitHub

hexo version #查看Hexo的版本

HexoEditor 写博客 #在HexoEditor目录下,输入npm start

Author: kim yhow
Link: http://yoursite.com/2017/08/18/使用hexo写博客/
Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Donate
  • 微信
    微信
  • 支付寶
    支付寶