hexo

HEXO

step1

hexo init myblog
hexo new ‘firstblog’
hexo g
hexo d

step2

部署:
修改站点配置文件:
deploy:
type: git
repository: github@github.com:N-damo.github.io.git
branch: master
运行:npm install hexo-deployer-git –save
运行:hexo g(本地生成静态文件)
运行:hexo d(将本地静态文件推送至Github)
打开浏览器,访问https://n-damo.github.io

-------------本文结束感谢您的阅读-------------