博客改版
考虑到之前的博客过于简单并且不方便浏览,经过一番考虑之后决定对博客进行一个改版。新的博客使用Hexo搭建非常的简单,使用的maupassant皮肤非常的简洁清晰。这里简单描述一下步骤。
步骤
hexo 安装1
2
3
4npm install hexo-cli -g
hexo init blog
cd blog
hexo server
maupassant 安装1
2
3git clone https://github.com/tufu9441/maupassant-hexo.git themes/maupassant
npm install hexo-renderer-jade --save
npm install hexo-renderer-sass --save
hexo deploy到git1
2
3
4
5
6
7
8
9
10
11
12npm install --sava hexo-deployer-git
配置_.config.yml
deploy:
type: git
repo: git仓库
branch: 仓库分支
发布
hexo deploy
参考地址
Hexo中文网站 https://hexo.io/zh-cn/
maupassant说明https://www.haomwei.com/technology/maupassant-hexo.html