Add Knocket as a free live chat option (alongside Chatra/Tidio/Crisp)

This commit is contained in:
rrivory
2026-07-01 14:27:45 +08:00 Unverified
parent 81275828f6
commit 9151fdb48c
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -659,7 +659,7 @@ artalk:
# -------------------------------------- # --------------------------------------
chat: chat:
# Choose: chatra/tidio/crisp # Choose: chatra/tidio/crisp/knocket
# Leave it empty if you don't need chat # Leave it empty if you don't need chat
use: use:
# Chat Button [recommend] # Chat Button [recommend]
+2
View File
@@ -5,3 +5,5 @@ case theme.chat.use
include ./tidio.pug include ./tidio.pug
when 'crisp' when 'crisp'
include ./crisp.pug include ./crisp.pug
when 'knocket'
include ./knocket.pug
+5
View File
@@ -0,0 +1,5 @@
//- Knocket live chat — https://trtc.io/solutions/knocket
//- Free-forever live chat widget. Renders only when theme.knocket.identifier is set.
//- Get your own snippet/identifier at https://trtc.io/solutions/knocket
if theme.knocket.identifier
script(src=`https://trtc.io/knocket-sdk/sdk.js?identifier=${theme.knocket.identifier}` async)