No Description

zhuyijun b8ec5feefa 移除cdn加速 3 weeks ago
.github 346b73c7ad 首次提交 2 years ago
scaffolds 346b73c7ad 首次提交 2 years ago
source b8ec5feefa 移除cdn加速 3 weeks ago
themes dd1db6a058 提交主题 2 years ago
.gitignore f01372bf84 添加主题 2 years ago
README.md e0e94f087f 提交主题 2 years ago
_config.butterfly.yml b8ec5feefa 移除cdn加速 3 weeks ago
_config.yml a24396bf30 新增文章 1 month ago
package-lock.json a24396bf30 新增文章 1 month ago
package.json a24396bf30 新增文章 1 month ago
yarn.lock a24396bf30 新增文章 1 month ago

README.md

Hexo博客

hexo安装

npm install -g hexo-cli

安装 Hexo 完成后,请执行下列命令,Hexo 将会在指定文件夹中新建所需要的文件。

hexo init <folder>
cd <folder>
npm install

主题安装

npm i hexo-theme-butterfly
#升级主题
npm update hexo-theme-butterfly

修改 Hexo 根目录下的 _config.yml,把主題改为butterfly

theme: butterfly

安装插件

如果你沒有 pug 以及 stylus 的渲染器,请下载安裝:

npm install hexo-renderer-pug hexo-renderer-stylus --save
npm install hexo-renderer-marked
npm install hexo-asset-img

配置__config.yml

post_asset_folder: true
marked:
  prependRoot: true
  postAsset: true
hexo bangumi -u