mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-18 18:33:42 +00:00
Fix not loading disqusjs (#150)
This commit is contained in:
parent
37ac8dac9f
commit
851bf27836
@ -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', `
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user