This commit is contained in:
hwy0127@gmail.com
2019-06-17 21:25:18 +08:00
parent 79971d49db
commit 5a3363e0e4
37 changed files with 2955 additions and 418 deletions

View File

@@ -4,12 +4,18 @@
一款基于[hexo-theme-melody](https://github.com/Molunerfinn/hexo-theme-melody)修改的主题
处于dev阶段一些功能需要时间去适配例如夜间模式
## 安装
在你的博客目录里
在你的博客根目录里
```
git clone https://github.com/jerryc127/hexo-theme-butterfly.git themes/Butterfly
git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/Butterfly
```
如果想要安裝比較新的dev分支可以
```
git clone -b div https://github.com/jerryc127/hexo-theme-butterfly.git themes/Butterfly
```
## 应用主题
@@ -22,39 +28,10 @@ theme: Butterfly
>如果你没有pug以及stylus的渲染器请下载安装 npm install hexo-renderer-jade hexo-renderer-stylus --save or yarn add hexo-renderer-jade hexo-renderer-stylus
## 文档
可查看[这里](https://molunerfinn.com/hexo-theme-melody-doc/zh-Hans/#%E7%89%B9%E6%80%A7)
一些不同的东西后续补上教程
可查看[这里](https://jerryc.me/posts/21cfbf15)
## Front-matter
page页
```
---
title: {{ title }}
date: {{ date }}
comments:
reward:
description:
top_img:
cover: (封面)
---
```
post页
```
---
title: {{ title }}
date: {{ date }}
tags:
categories:
keywords:
description:
top_img:
cover:
---
```
## 截图
![image](https://user-images.githubusercontent.com/16351105/58887365-1272f780-8718-11e9-9329-3292c6ba20d4.png)