File tree Expand file tree Collapse file tree 6 files changed +24
-40
lines changed Expand file tree Collapse file tree 6 files changed +24
-40
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- < div id ="disqus_thread "> </ div >
1
+ < div id ="gitalk-container "> </ div >
2
2
< script >
3
3
$ ( function ( ) {
4
- var dsq = document . createElement ( 'script' ) ;
5
- dsq . type = 'text/javascript' ;
6
- dsq . async = true ;
7
- dsq . src = '//{{site.disqus}}.disqus.com/embed.js' ;
8
- ( document . getElementsByTagName ( 'head' ) [ 0 ] || document . getElementsByTagName ( 'body' ) [ 0 ] ) . appendChild ( dsq ) ;
4
+ var gitalk = new Gitalk ( { clientID : 'e87cf0551a08f93ea5fa' ,
5
+ clientSecret : 'fd691f6e041f1c73975220ff65cd31b44c6ab82c' ,
6
+ repo : 'codingted.github.io' ,
7
+ owner : 'codingted' ,
8
+ admin : [ 'codingted' ] ,
9
+ id : comment . gitalk , // Ensure uniqueness and length less than 50
10
+ distractionFreeMode : false // Facebook-like distraction free mode
11
+ } )
12
+ gitalk . render ( 'gitalk-container' )
9
13
} ) ;
10
14
</ script >
11
- < noscript > 请 < a href ="http://disqus.com/?ref_noscript "> 启用 JavaScript</ a > 来查看评论 </ noscript >
Original file line number Diff line number Diff line change
1
+ < div id ="disqus_thread "> </ div >
2
+ < script >
3
+ $ ( function ( ) {
4
+ var dsq = document . createElement ( 'script' ) ;
5
+ dsq . type = 'text/javascript' ;
6
+ dsq . async = true ;
7
+ dsq . src = '//{{site.disqus}}.disqus.com/embed.js' ;
8
+ ( document . getElementsByTagName ( 'head' ) [ 0 ] || document . getElementsByTagName ( 'body' ) [ 0 ] ) . appendChild ( dsq ) ;
9
+ } ) ;
10
+ </ script >
11
+ < noscript > 请 < a href ="http://disqus.com/?ref_noscript "> 启用 JavaScript</ a > 来查看评论 </ noscript >
Original file line number Diff line number Diff line change 21
21
<!--
22
22
<link rel="stylesheet" href="/assets/lib/font-awesome/4.2.0/css/font-awesome.min.css">
23
23
-->
24
+ < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.css ">
24
25
< link rel ="stylesheet " href ="/assets/css/site.css ">
25
26
26
27
< script defer src ="https://use.fontawesome.com/releases/v5.0.10/js/all.js " integrity ="sha384-slN8GvtUJGnv6ca26v8EzVaR9DC58QEwsIk9q1QXdCU8Yu8ck/tL/5szYlBbqmS+ " crossorigin ="anonymous "> </ script >
27
28
< script src ="/assets/lib/jquery/jquery-2.0.3.min.js "> </ script >
29
+ < script src ="https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js "> </ script >
Original file line number Diff line number Diff line change 29
29
{{ content }}
30
30
< p > 转载请注明来源: < a href ="http://www.codingted.com{{page.url}} "> http://www.codingted.com{{page.url}}</ a >
31
31
< br />
32
- 欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论(可能需要在能访问 disqus 服务的网络), 也可以邮件至 < a href ="mailto:{{site.email}} "> {{site.email}}</ a > 。</ p >
32
+ 欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论, 也可以邮件至 < a href ="mailto:{{site.email}} "> {{site.email}}</ a > 。</ p >
33
33
</ div >
34
34
35
35
< div class ="hidden-xs ">
You can’t perform that action at this time.
0 commit comments