项目基于Node.js
构建,博客框架为Hexo
,最终定下的模板为Matery
。
安装hexo库:
npm install -g hexo-cli
查看hexo版本:
hexo -v
构建hexo项目:
hexo init hexo-blog
npm install
修改_config.yml
配置主题:
theme: matery
更新后运行项目:
hexo clean
hexo g -d
hexo s
- GitHub: peaceiris/actions-gh-pages
- GitHub Action - Hexo CI/CD
- GitHub Action - Hexo Deploy
- Hexo: 部署到GitHub Pages
- 稀土掘金: github pages 404怎么解决
- Stackoverflow: brackets cannot be displayed correctly in hexo blog
- Stackoverflow: Problem with GitHub Pages Jekyll Template
- lingzhicheng: Nunjucks Errors
Reference from: