Skip to content

Commit 135c64a

Browse files
committed
chore: update README
1 parent 6dbaada commit 135c64a

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

README.en.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,16 @@ code_block:
268268
> Site comments can be individually controlled for each article using `comments` in the Front matter.
269269
> When `comments` is `false`, comments won't be displayed. When it's `true` or not specified, the display will be determined by the `_config.yml` configuration.
270270

271+
> Support for multiple comment systems simultaneously after version 1.7.0+
272+
273+
Global comment system configuration:
274+
275+
```yaml
276+
comment:
277+
title: Say something! # Title of the comment box
278+
default: waline # Default comment system used when multiple are enabled
279+
```
280+
271281
If using [Valine](https://valine.js.org/)
272282
Please refer to their official documentation to complete the `LeanCloud` configuration, then set `valine.enable` to `true` in the inner `_config.yml` and fill in your `appId` and `appKey`
273283

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,16 @@ code_block:
266266
> 站内评论可以使用 Front matter 中的 `comments` 独立控制每篇文章是否显示评论。
267267
> 当 `comments` 为 `false` 时不显示评论,`true` 或不填时根据 `_config.yml` 的配置决定是否显示。
268268

269+
> 1.7.0+ 后支持多评论系统同时使用
270+
271+
全局评论系统配置:
272+
273+
```yaml
274+
comment:
275+
title: 说些什么吧! # 评论框标题
276+
default: waline # 多评论下,默认使用的评论系统
277+
```
278+
269279
若基于 [Valine](https://valine.js.org/)
270280
请参考其官方文档完成 `LeanCloud` 的配置,并在内层 `_config.yml` 中将 `valine.enable` 改为 `true`,并填入自己的 `appId` 和 `appKey`
271281

0 commit comments

Comments
 (0)