diff --git a/_config.yml b/_config.yml index 6cc364d5..5ec9ca29 100644 --- a/_config.yml +++ b/_config.yml @@ -750,7 +750,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 | cusdis | giscus | discuss + # Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo | cusdis | giscus | discuss | artalk type: disqus @@ -912,6 +912,13 @@ discuss: serverURLs: path: window.location.pathname +# Artalk +# 由 Golang 驱动的自托管评论系统 +# Self-hosted commenting system driven by Golang +# See: https://artalk.js.org +artalk: + server: + site: #--------------------------- # 归档页 @@ -1124,6 +1131,8 @@ static_prefix: discuss: https://lib.baomitu.com/discuss/1.2.1/ + artalk: https://lib.baomitu.com/artalk/2.9.0/ + hint: https://lib.baomitu.com/hint.css/2.7.0/ moment: https://lib.baomitu.com/moment.js/2.29.4/ diff --git a/layout/_partials/comments/artalk.ejs b/layout/_partials/comments/artalk.ejs new file mode 100644 index 00000000..4bce1ba9 --- /dev/null +++ b/layout/_partials/comments/artalk.ejs @@ -0,0 +1,45 @@ +<% if (theme.artalk && theme.artalk.server) { %> +
+ + +<% } %> \ No newline at end of file