Skip to content

Commit 05b9a9a

Browse files
committed
删除多说相关文件
升级mathjax
1 parent 8bf13ac commit 05b9a9a

2 files changed

Lines changed: 2 additions & 19 deletions

File tree

layout/partial/comment.jade

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
if theme.duoshuo
2-
.ds-thread(data-thread-key=page.path, data-title=page.title, data-url=page.permalink, data-author-key='1')
3-
script.
4-
var duoshuoQuery = {short_name:"#{theme.duoshuo}"};
5-
(function() {
6-
var ds = document.createElement('script');
7-
ds.type = 'text/javascript';ds.async = true;
8-
ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
9-
ds.charset = 'UTF-8';
10-
(document.getElementsByTagName('head')[0]
11-
|| document.getElementsByTagName('body')[0]).appendChild(ds);
12-
})();
13-
14-
151
if theme.disqus
162
#disqus_thread
173
script.
@@ -41,4 +27,4 @@ if theme.gitment
4127
client_secret: '#{theme.gitment.clientsecret}',
4228
},
4329
})
44-
gitment.render('render')
30+
gitment.render('render')

layout/partial/scripts.jade

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
//- LaTex
2-
script(async src="//cdn.bootcss.com/mathjax/2.6.1/MathJax.js?config=TeX-MML-AM_CHTML")
2+
script(async src="https://cdn.bootcss.com/mathjax/2.7.5/MathJax.js")
33

4-
//- 多说https
5-
if theme.duoshuo
6-
script(src="https://dn-hb0716.qbox.me/duoshuo.js")

0 commit comments

Comments
 (0)