Hexo安装并使用Butterfly主题
由于目前主题已更新,此文件中部分配置可能失效。请参考作者博客或文档进行。文档地址 前置说明 本片文章为本人想要换hexo的主题时所写。因此省略node和hexo的安装,直接在初始化博客开始。 初始化博客 输入一下命令,并等待程序初始化完成。 hexo init MyHexoBlog 此时已初始化完成。 安装主题 如果没有cheerio安装npm install cheerio@0.22.0 --save 在你的博客根目录里 git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/Butterfly 如果想要安装比较新的dev分支,可以 git clone -b dev https://github.com/jerryc127/hexo-theme-butterfly.git themes/Butterfly 我这里选择dev分支。 等待克隆完成。 启用主题 修改站点配置文件_config.yml,把主题改为Butterfly theme: Butterfly 如果 ...