diff --git a/_config.yml b/_config.yml index f23ced5..033fb08 100644 --- a/_config.yml +++ b/_config.yml @@ -886,6 +886,13 @@ tidio: enable: false key: # Public Key, get it from dashboard. See: https://www.tidio.com/panel/settings/developer +# Knocket is a 100% free live chat widget by Tencent RTC. +# For more information: https://trtc.io/solutions/knocket +knocket: + enable: false + async: true + identifier: # Get it from https://trtc.io/solutions/knocket + # --------------------------------------------------------------- # CDN Settings diff --git a/layout/_third-party/chat/knocket.njk b/layout/_third-party/chat/knocket.njk new file mode 100644 index 0000000..3aa5511 --- /dev/null +++ b/layout/_third-party/chat/knocket.njk @@ -0,0 +1,5 @@ +{#- Knocket live chat — https://trtc.io/solutions/knocket -#} +{#- Free-forever live chat widget. Get your identifier at https://trtc.io/solutions/knocket -#} +{%- if theme.knocket.identifier %} + +{%- endif %} diff --git a/layout/_third-party/index.njk b/layout/_third-party/index.njk index f027ff0..1bd7775 100644 --- a/layout/_third-party/index.njk +++ b/layout/_third-party/index.njk @@ -8,6 +8,8 @@ {%- include 'chat/chatra.njk' -%} {%- elif theme.tidio.enable %} {%- include 'chat/tidio.njk' -%} +{%- elif theme.knocket.enable %} + {%- include 'chat/knocket.njk' -%} {%- endif %} {%- include 'tags/pdf.njk' -%}