Add tidio integration in minify.js (#435)

This commit is contained in:
Ljcbaby 2022-01-15 02:04:54 +08:00 committed by GitHub
parent f70b4bffd6
commit f860dcebc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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');
}