feat(comments): add https://cactus.chat support (#298)

* feat: Add https://cactus.chat as comments provider

* Add cactus comments config fields to exampleSite

* Add cactus css and js to external.yaml and move custom cactus css to html

* Remove unneeded cactus comments css

* Load external dependencies for cactus comments in the comments provider

* Use safeJS instead of safeHTML
This commit is contained in:
Marcel
2022-01-23 13:10:00 +01:00
committed by GitHub
parent 2b40a32d47
commit 7dc5def217
3 changed files with 44 additions and 1 deletions
+6 -1
View File
@@ -104,6 +104,12 @@ params:
path:
lang:
# See https://cactus.chat/docs/reference/web-client/#configuration for description of the various options
cactus:
defaultHomeserverUrl: "https://matrix.cactus.chat:8448"
serverName: "cactus.chat"
siteName: "" # You must insert a unique identifier here matching the one you registered (See https://cactus.chat/docs/getting-started/quick-start/#register-your-site)
giscus:
repo:
repoID:
@@ -125,7 +131,6 @@ params:
cusdis:
host:
id:
widgets:
enabled:
- search