# 评论

{% hint style="info" %}
需要配置在 **全局 `_config.yml`**
{% endhint %}

### Disqus <a href="#disqus" id="disqus"></a>

填入 Disqus ID

```yaml
aomori_disqus_shortname: ''
```

### DisqusJS

使用 DisqusJS 搭配 Disqus API 在中国大陆访问会更加友好

配置字段详情参照 <https://github.com/SukkaW/DisqusJS>

```yaml
aomori_disqusjs:
  enable: true
  shortname: ""
  siteName: ""
  api: ""
  apikey: ""
  nesting: 4
  nocomment: "这里冷冷清清的，一条评论都没有"
  admin: ""
  adminLabel: ""
```

### Gitalk

```yaml
aomori_gitalk:
  enable: true
  clientID: GitHub Application Client ID
  clientSecret: GitHub Application Client Secret
  repo: GitHub repo
  owner: GitHub repo owner
  admin: 
    - GitHub repo owner and collaborators
    - GitHub repo owner and collaborators
  distractionFreeMode: true // Facebook-like distraction free mode
```

### Valine

配置字段详情参照 <https://valine.js.org/>

```yaml
aomori_valine:
  enable: true
  appId: ''
  appKey: ''
```

### Remark42

配置字段详情参照 <https://github.com/umputun/remark42>

```yaml
aomori_remark42:
  enable: true
  host: ''
  site_id: ''
  max_shown_comments: 10
  theme: "light"
  locale: "en"
  show_email_subscription: false
```

### Giscus

配置字段详情参照 [https://giscus.app](https://giscus.app/)

```yaml
aomori_giscus:
  enable: true
  repo: ''
  repoId: ''
  category: ''
  categoryId: 10
  mapping: "pathname"
  reactionsEnabled: 1
  emitMetadata: 0
  theme: 'light'
  lang: 'zh-CN'
```
