mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-18 18:33:42 +00:00
Add gitter integration in minify.js (#300)
This commit is contained in:
parent
86873699ab
commit
81f716d289
@ -63,6 +63,10 @@ hexo.extend.filter.register('after_generate', () => {
|
||||
hexo.route.remove('js/third-party/chat/chatra.js');
|
||||
}
|
||||
|
||||
if (!theme.gitter.enable) {
|
||||
hexo.route.remove('js/third-party/chat/gitter.js');
|
||||
}
|
||||
|
||||
// Comments
|
||||
if (!theme.changyan.enable || !theme.changyan.appid || !theme.changyan.appkey) {
|
||||
hexo.route.remove('js/third-party/comments/changyan.js');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user