diff --git a/layout/_third-party/comments/gitalk.njk b/layout/_third-party/comments/gitalk.njk index a66fcee..a25b6f7 100644 --- a/layout/_third-party/comments/gitalk.njk +++ b/layout/_third-party/comments/gitalk.njk @@ -2,7 +2,7 @@ diff --git a/layout/_third-party/comments/utterances.njk b/layout/_third-party/comments/utterances.njk index 85625af..262cb4f 100644 --- a/layout/_third-party/comments/utterances.njk +++ b/layout/_third-party/comments/utterances.njk @@ -1,6 +1,6 @@ {%- if page.comments %} {%- endif %} diff --git a/scripts/filters/comment/changyan.js b/scripts/filters/comment/changyan.js index 71e4251..a9792a0 100644 --- a/scripts/filters/comment/changyan.js +++ b/scripts/filters/comment/changyan.js @@ -10,11 +10,7 @@ hexo.extend.filter.register('theme_inject', injects => { const config = hexo.theme.config.changyan; if (!config.enable || !config.appid || !config.appkey) return; - injects.comment.raw('changyan', ` -