zhuyijun b8ec5feefa 移除cdn加速 | 3 weeks ago | |
---|---|---|
.github | 2 years ago | |
scaffolds | 2 years ago | |
source | 3 weeks ago | |
themes | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
_config.butterfly.yml | 3 weeks ago | |
_config.yml | 1 month ago | |
package-lock.json | 1 month ago | |
package.json | 1 month ago | |
yarn.lock | 1 month ago |
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
post_asset_folder: true
marked:
prependRoot: true
postAsset: true
hexo bangumi -u