From 8004411a56be080857336e46422909f25a2266d5 Mon Sep 17 00:00:00 2001 From: TianLun Song Date: Thu, 9 May 2024 20:59:55 +0800 Subject: [PATCH] fix(stellar-artalk): bump version, fix site name escape (#452) --- _config.yml | 4 ++-- layout/_partial/comments/artalk/script.ejs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 %>' }) });