1、下载Butterfly主题

1
https://github.com/jerryc127/hexo-theme-butterfly

下载成功后,进入hexo项目,在主题themes文件夹中创建butterfly文件。并把下载的主题拷贝到里面。然后配置文件_config.yml配置主题信息:

1
theme: butterfly

2、安裝文档

安装详情可以查看安装文档:
https://butterfly.js.org/posts/21cfbf15/

3、安装插件

1
npm install hexo-renderer-pug hexo-renderer-stylus --save

图片库:https://fontawesome.com/icons?from=io