File tree Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -13,20 +13,18 @@ <h1 class="post-title">
1313 < article class ="post-content ">
1414 {{ content }}
1515 </ article >
16- < div class ="ds-thread "> </ div >
17- <!-- 多说公共JS代码 start (一个网页只需插入一次) -->
18- < script type ="text/javascript ">
19- var categoryEle = { { page . category} } ;
20- categoryEle . className += ' active' ;
21- var duoshuoQuery = { short_name :"sysutangzx" } ;
22- ( function ( ) {
23- var ds = document . createElement ( 'script' ) ;
24- ds . type = 'text/javascript' ; ds . async = true ;
25- ds . src = ( document . location . protocol == 'https:' ? 'https:' : 'http:' ) + '//static.duoshuo.com/embed.js' ;
26- ds . charset = 'UTF-8' ;
27- ( document . getElementsByTagName ( 'head' ) [ 0 ]
28- || document . getElementsByTagName ( 'body' ) [ 0 ] ) . appendChild ( ds ) ;
29- } ) ( ) ;
30- </ script >
31- <!-- 多说公共JS代码 end -->
16+ < div id ="container "> </ div >
17+ < link rel ="stylesheet " href ="https://imsun.github.io/gitment/style/default.css ">
18+ < script src ="https://imsun.github.io/gitment/dist/gitment.browser.js "> </ script >
19+ < script >
20+ var gitment = new Gitment ( {
21+ owner : 'cody1991' ,
22+ repo : 'cody1991.github.io' ,
23+ oauth : {
24+ client_id : '286834ce17a5b9971275' ,
25+ client_secret : '5adff8e9c688905d62dd8fc5f54561ed2e59ed4c' ,
26+ } ,
27+ } )
28+ gitment . render ( 'container' )
29+ </ script >
3230</ div >
You can’t perform that action at this time.
0 commit comments