From 851bf27836df860171655c7b3423b4c66691134b Mon Sep 17 00:00:00 2001 From: Artin Date: Wed, 2 Dec 2020 15:21:09 +0800 Subject: [PATCH] Fix not loading disqusjs (#150) --- scripts/filters/comment/disqusjs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/filters/comment/disqusjs.js b/scripts/filters/comment/disqusjs.js index 57daa4a..4f55efe 100644 --- a/scripts/filters/comment/disqusjs.js +++ b/scripts/filters/comment/disqusjs.js @@ -6,7 +6,7 @@ const path = require('path'); // Add comment hexo.extend.filter.register('theme_inject', injects => { - const config = hexo.theme.config.disqus; + const config = hexo.theme.config.disqusjs; if (!config.enable || !config.shortname || !config.apikey) return; injects.comment.raw('disqusjs', `