diff --git a/_config.yml b/_config.yml index b23e4a29..30fdf824 100644 --- a/_config.yml +++ b/_config.yml @@ -627,7 +627,7 @@ post: enable: false # 指定的插件,需要同时设置对应插件的必要参数 # The specified plugin needs to set the necessary parameters at the same time - # Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo + # Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo | cusdis type: disqus @@ -756,6 +756,15 @@ twikoo: region: ap-shanghai path: window.location.pathname +# Cusdis +# 基于第三方服务或自托管服务 +# Based on third-party or self-hosted service +# See https://cusdis.com +cusdis: + host: + appID: + lang: zh-cn + #--------------------------- # 归档页 # Archive Page @@ -909,7 +918,7 @@ links: enable: false # 指定的插件,需要同时设置对应插件的必要参数 # The specified plugin needs to set the necessary parameters at the same time - # Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo + # Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo | cusdis type: disqus diff --git a/layout/_partial/comments/cusdis.ejs b/layout/_partial/comments/cusdis.ejs new file mode 100644 index 00000000..e9349ee7 --- /dev/null +++ b/layout/_partial/comments/cusdis.ejs @@ -0,0 +1,25 @@ +<% if (theme.cusdis.host && theme.cusdis.appID) { %> +