安装并配置 Hexo 的 Butterfly 主题
一、安装主题 打开运行窗口: 快捷键:Windows + R 输入 cmd 并点击“确定” 在命令提示符中输入以下命令进入 Hexo 项目目录: 1cd hexo 克隆 Butterfly 主题: 1git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly (可选)清屏: 1cls 二、配置 Hexo 主配置文件 打开路径:C:\Users\Administrator\hexo 右键点击 _config.yml,使用记事本打开 使用快捷键 Ctrl + F,查找内容: 1theme 点击“查找下一个”,定位到: 1theme: landscape 修改为: 1theme: butterfly 三、安装依赖插件1npm install hexo-renderer-pug hexo-renderer-stylus --save 四、复制 Butterfly 默认配置文件1copy "themes\butterfly\_confi...
