mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 20:30:53 +08:00
62 lines
1.7 KiB
Markdown
62 lines
1.7 KiB
Markdown
# hexo-theme-butterfly
|
||
|
||
<a href="https://github.com/jerryc127/hexo-theme-butterfly/releases"><img alt="Version" src="https://img.shields.io/badge/release-2.1.0-blue"/></a>
|
||
<a href="https://jerryc.me"><img alt="Author" src="https://img.shields.io/badge/author-JerryC-blur"/></a>
|
||
<a href="https://hexo.io"><img alt="Hexo" src="https://img.shields.io/badge/hexo-3.0+-0e83c"/></a>
|
||
<a href="https://nodejs.org/"><img alt="node.js" src="https://img.shields.io/badge/node.js-6.0-blur"/></a>
|
||
|
||
Demo: https://demo.jerryc.me/
|
||
|
||
JerryC: https://jerryc.me/
|
||
|
||
|
||
|
||
Based on [hexo-theme-melody](https://github.com/Molunerfinn/hexo-theme-melody) theme.
|
||
|
||
> If you update to hexo 4.2.0,it will be something's wrong
|
||
>
|
||
> ```
|
||
> Error: Cannot find module 'cheerio'
|
||
> ```
|
||
>
|
||
> please install cheerio
|
||
>
|
||
> ```
|
||
> npm install cheerio@0.22.0 --save
|
||
> ```
|
||
|
||
## Installation
|
||
|
||
Stable branch:
|
||
|
||
```
|
||
git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/Butterfly
|
||
```
|
||
|
||
Dev branch:
|
||
|
||
```
|
||
git clone -b dev https://github.com/jerryc127/hexo-theme-butterfly.git themes/Butterfly
|
||
```
|
||
|
||
## Configuration
|
||
|
||
Set theme in the hexo work folder's root config file `_config.yml`:
|
||
|
||
> theme: Butterfly
|
||
|
||
If you don't have pug & stylus renderer, try this:
|
||
|
||
> npm install hexo-renderer-pug hexo-renderer-stylus
|
||
|
||
## Documentation
|
||
|
||
Documentation is [here](https://jerryc.me/posts/21cfbf15). it supports `zh-TW`
|
||
|
||
## Screenshots
|
||
|
||

|
||
|
||

|
||
|
||
 |