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