0%

hexo更换新的主题

1
2
3
4
5
6
7
8
9
10
11
12
13
14
先进入/var/www  hexo对应的根目录

然后下载主题:
git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly


⚙️ 主题配置
启用主题:修改您的 Hexo 配置文件 _config.yml:
theme: butterfly
安装依赖项:如果您尚未安装 pug 和 stylus 渲染器,请运行:
npm install hexo-renderer-pug hexo-renderer-stylus --save

重启:hexo clean && hexo g && hexo server