mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-10 21:17:07 +08:00
fix bugs
This commit is contained in:
45
README.md
45
README.md
@@ -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:
|
||||
---
|
||||
```
|
||||
|
||||
## 截图
|
||||

|
||||
|
||||
Reference in New Issue
Block a user