diff --git a/_config.yml b/_config.yml index 9b19ada..2b9329a 100755 --- a/_config.yml +++ b/_config.yml @@ -250,8 +250,8 @@ comments: # Artalk # https://artalk.js.org/ artalk: - css: https://unpkg.com/artalk@2.7/dist/Artalk.css - js: https://unpkg.com/artalk@2.7/dist/Artalk.js + css: https://unpkg.com/artalk@2.8.5/dist/Artalk.css + js: https://unpkg.com/artalk@2.8.5/dist/Artalk.js server: # 后端服务地址 placeholder: '' darkMode: auto diff --git a/layout/_partial/comments/artalk/script.ejs b/layout/_partial/comments/artalk/script.ejs index 9ea27b8..14d33c3 100644 --- a/layout/_partial/comments/artalk/script.ejs +++ b/layout/_partial/comments/artalk/script.ejs @@ -14,7 +14,7 @@ pageTitle: '<%= page.title %>', server: '<%= theme.comments.artalk.server %>', placeholder: '<%= theme.comments.artalk.placeholder %>', - site: '<%= config.title %>', + site: "<%- config.title %>", darkMode: '<%= theme.comments.artalk.darkMode %>' }) });