官网
安装
npm install -g hexo-cli
配置
hexo init hexo-blog
vi _config.yml
deploy:
type: git
repo: https://your-repo.git
branch: master
生成静态页
hexo g
本机测试
hexo s
上传
hexo d
主题
git clone https://github.com/theme-next/hexo-theme-next themes/next
RSS
npm install --save hexo-generator-feed
social:
GitHub: https://your-repo.git
简书: https://your-blog
social_icons:
enable: true
icons_only: false
transition: false
GitHub: github
简书: book
侧边栏社交链接
social:
GitHub: https://your-repo.git
简书: https://your-blog
social_icons:
enable: true
icons_only: false
transition: false
GitHub: github
简书: book
网友评论