This module add support for the Twikoo, a simple, safe and free comments system.
Module | github.com/hbstack/blog/modules/twikoo |
---|---|
Repository | ⭐ Please consider giving a star if your like it. |
Stars | |
Version | |
Used by | |
Requirements | |
License | |
Usage | See how to use modules. |
Name | Type | Required | Default | Description |
---|---|---|---|---|
env_id | string | Y | - | The Tencent Cloud environment ID or self-hosted endpoint. |
js_url | string | Y | https://cdn.staticfile.org/twikoo/1.6.16/twikoo.all.min.js | The script URL. |
region | string | - | - | The Tencent Cloud region, such as ap-shanghai , ap-guangzhou . |
params.toml
1[hb]
2 [hb.blog]
3 [hb.blog.twikoo]
4 env_id = 'https://twikoo.hugomods.com/'
5 js_url = 'https://cdn.staticfile.org/twikoo/1.6.16/twikoo.all.min.js'
params.yaml
1hb:
2 blog:
3 twikoo:
4 env_id: https://twikoo.hugomods.com/
5 js_url: https://cdn.staticfile.org/twikoo/1.6.16/twikoo.all.min.js
params.json
1{
2 "hb": {
3 "blog": {
4 "twikoo": {
5 "env_id": "https://twikoo.hugomods.com/",
6 "js_url": "https://cdn.staticfile.org/twikoo/1.6.16/twikoo.all.min.js"
7 }
8 }
9 }
10}
Please note that https://twikoo.hugomods.com/
is used for testing, the comments data will be removed, you need to host the service yourself.