Skip to content

Commit

Permalink
modify README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
meethigher committed Dec 3, 2019
1 parent 68050a4 commit 9465d6d
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 3 deletions.
29 changes: 28 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,31 @@ You can't use it directly, unless you have installed `Less`
$ npm install hexo-renderer-less --save
```

E-mail:meethigher@qq.com/meethigher@gmail.com
Install searchdb

```npm
$ npm install hexo-generator-searchdb --save
```

Add the following to _config.yml

```npm
search:
path: meethigher.xml
field: post
format: html
limit: 10000
```

Set the path of root(Not required, but may cause other problems)

```npm
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: 你的网站地址
root: /blog/
```

Enjoy using it!

E-mail:meethigher@qq.com/meethigher@gmail.com
33 changes: 31 additions & 2 deletions README.zn.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,42 @@

闲得没事写的,预览:[言成言成啊](https://meethigher.top/)

本主题采用的是less跟ejs开发的。直接下载可能不能使用,需要安装less
本主题采用的是less跟ejs开发的。

直接下载可能不能使用,需要安装less

```npm
$ npm install hexo-renderer-less --save
```

我的邮箱:meethigher@qq.com/meethigher@gmail.com
安装searchdb插件

```npm
$ npm install hexo-generator-searchdb --save
```

在网站下的_config.yml添加

```npm
search:
path: meethigher.xml
field: post
format: html
limit: 10000
```

设置博客root路径(可以不用设置,但是可能会出现问题)

```npm
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: 你的网站地址
root: /blog/
```

尽情使用吧!

我的邮箱:meethigher@qq.com/meethigher@gmail.com



0 comments on commit 9465d6d

Please sign in to comment.