Hexo

使用 Hexo + GitHub Page 搭建个人博客,记录个人的学习成长。
Hexo

安装

进入Hexo官网,按照教程提示,依次输入以下命令,便完成了 Hexo 的安装。

npm install hexo-cli -g
hexo init blog
cd blog
npm install
hexo server

配置文件 _config.yml

  • 主题
theme: next

替换默认主题,本站的主题为 hexo-theme-next

  • 集成 Github
deploy:
  type: git
  repository: [email protected]:leifchen/leifchen.github.io.git
  branch: master

需安装插件 npm install hexo-deployer-git --savehexo d 命令用于发布。

相关文章:

  • 2021-06-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
  • 2022-02-08
  • 2022-12-23
  • 2021-10-20
猜你喜欢
  • 2022-12-23
相关资源
相似解决方案