fix: README.md
This commit is contained in:
parent
1dbbc6110f
commit
0bc4b48060
24
README.md
24
README.md
@ -58,7 +58,7 @@ git pull
|
|||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
let me know if you can’t find something.
|
let me know if you can’t find anything.
|
||||||
|
|
||||||
``` yml
|
``` yml
|
||||||
# Menu-Sidebar
|
# Menu-Sidebar
|
||||||
@ -74,10 +74,10 @@ favicon: /favicon.ico
|
|||||||
logo: /images/ayer-side.svg
|
logo: /images/ayer-side.svg
|
||||||
|
|
||||||
# Cover Setting
|
# Cover Setting
|
||||||
# enable: [true|false];path: [background-image path];logo: [cover-logo path]
|
# enable: [true|false];path: [background-image];logo: [cover-logo-image]
|
||||||
cover:
|
cover:
|
||||||
enable: true
|
enable: true
|
||||||
path: /images/cover1.jpg # images目录下附送多张美图,可更换
|
path: /images/cover1.jpg # there are some beautiful cover images in Ayer's directory: /source/images, choose your favorite image to replace it.
|
||||||
logo: /images/ayer.svg
|
logo: /images/ayer.svg
|
||||||
|
|
||||||
# ProgressBar
|
# ProgressBar
|
||||||
@ -104,7 +104,7 @@ toc: true
|
|||||||
# type:0-close reward; 1-only open in article which you have configured reward:true; 2-open in all articles
|
# type:0-close reward; 1-only open in article which you have configured reward:true; 2-open in all articles
|
||||||
reward_type: 2
|
reward_type: 2
|
||||||
# reward word
|
# reward word
|
||||||
reward_wording: '请我喝杯咖啡吧~'
|
reward_wording: 'Buy me a cup of coffee~'
|
||||||
# qrcode image path
|
# qrcode image path
|
||||||
alipay: /images/alipay.jpg
|
alipay: /images/alipay.jpg
|
||||||
# qrcode image path
|
# qrcode image path
|
||||||
@ -113,7 +113,7 @@ weixin: /images/wechat.jpg
|
|||||||
# Search
|
# Search
|
||||||
search: true
|
search: true
|
||||||
|
|
||||||
# RSS(npm i hexo-generator-feed)
|
# RSS
|
||||||
rss: /atom.xml
|
rss: /atom.xml
|
||||||
|
|
||||||
# Comment:1、Valine (recommended);2、Gitalk
|
# Comment:1、Valine (recommended);2、Gitalk
|
||||||
@ -128,7 +128,7 @@ leancloud:
|
|||||||
valine:
|
valine:
|
||||||
enable: true
|
enable: true
|
||||||
avatar: mp # (https://valine.js.org/avatar.html)
|
avatar: mp # (https://valine.js.org/avatar.html)
|
||||||
placeholder: 给我的文章加点评论吧~ # placeholder
|
placeholder: Add some comments to my article~ # placeholder
|
||||||
|
|
||||||
# 2、Gitalk(https://github.com/gitalk/gitalk)
|
# 2、Gitalk(https://github.com/gitalk/gitalk)
|
||||||
gitalk:
|
gitalk:
|
||||||
@ -167,18 +167,18 @@ mathjax: true
|
|||||||
# since year
|
# since year
|
||||||
since: 2019
|
since: 2019
|
||||||
|
|
||||||
# pageFooter (Set true and let more people know this theme, Thanks!)
|
# pageFooter (Set true can let more people know this theme, Thanks!)
|
||||||
pageFooter: true
|
pageFooter: true
|
||||||
```
|
```
|
||||||
|
|
||||||
### Plugins
|
### Plugins
|
||||||
|
|
||||||
+ [hexo-generator-search](https://github.com/wzpan/hexo-generator-search) Local search
|
+ [hexo-generator-search](https://github.com/wzpan/hexo-generator-search) (for Local Search)
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
$ npm install hexo-generator-searchdb --save
|
$ npm install hexo-generator-searchdb --save
|
||||||
```
|
```
|
||||||
Then add the plugin configuration for hexo's configuration file `_config.yml` (note: not the theme's configuration file):
|
Then add the plugin configuration in hexo's configuration file `_config.yml` (note: not the theme's configuration file):
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
# Hexo-generator-search
|
# Hexo-generator-search
|
||||||
@ -188,13 +188,13 @@ pageFooter: true
|
|||||||
format: html
|
format: html
|
||||||
```
|
```
|
||||||
|
|
||||||
+ [hexo-generate-feed](https://github.com/hexojs/hexo-generator-feed) RSS
|
+ [hexo-generate-feed](https://github.com/hexojs/hexo-generator-feed) (for RSS)
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
$ npm install hexo-generator-feed --save
|
$ npm install hexo-generator-feed --save
|
||||||
```
|
```
|
||||||
|
|
||||||
Then add the plugin configuration for hexo's configuration file `_config.yml` (note: not the theme's configuration file):
|
Then add the plugin configuration in hexo's configuration file `_config.yml` (note: not the theme's configuration file):
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
feed:
|
feed:
|
||||||
@ -208,7 +208,7 @@ pageFooter: true
|
|||||||
order_by: -date
|
order_by: -date
|
||||||
```
|
```
|
||||||
|
|
||||||
+ [hexo-generator-index-pin-top](https://github.com/netcan/hexo-generator-index-pin-top)
|
+ [hexo-generator-index-pin-top](https://github.com/netcan/hexo-generator-index-pin-top) (for Sticky Post)
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
$ npm uninstall hexo-generator-index --save
|
$ npm uninstall hexo-generator-index --save
|
||||||
|
Loading…
Reference in New Issue
Block a user