Hexo

Hexo

使用 Hexo + GitHub Page 搭建个人博客,记录个人的学习成长。
Hexo_第1张图片

安装

进入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 命令用于发布。

你可能感兴趣的:(【Hello】)