File tree Expand file tree Collapse file tree 2 files changed +14
-21
lines changed Expand file tree Collapse file tree 2 files changed +14
-21
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ description_footer: 能立能达,不怨不尤
30
30
# 两种评论插件,选一个就好了,使用自己的 short_name
31
31
duoshuo_shortname : # codingted
32
32
disqus_shortname : www-codingted-com
33
+ netease_gentie : 02e02a1dc85445b392757f6b7c96cccf
33
34
34
35
# statistic analysis 统计代码
35
36
# 百度统计 id,将统计代码替换为自己的百度统计id,即
Original file line number Diff line number Diff line change 1
- {% if site.duoshuo_shortname %}
2
- <!-- 多说评论框 start -->
3
- < div class ="ds-thread " data-thread-key ="{{ site.url }}{{ page.url }} " data-title ="{{page.title}} " data-url ="{{ site.url }}{{ page.url }} "> </ div >
4
- <!-- 多说评论框 end -->
5
- <!-- 多说公共JS代码 start (一个网页只需插入一次) -->
6
- < script type ="text/javascript ">
7
- var duoshuoQuery = {
8
- short_name : "{{site.duoshuo_shortname}}"
9
- } ;
10
- ( function ( ) {
11
- var ds = document . createElement ( 'script' ) ;
12
- ds . type = 'text/javascript' ;
13
- ds . async = true ;
14
- ds . src = ( document . location . protocol == 'https:' ? 'https:' : 'http:' ) + '//static.duoshuo.com/embed.js' ;
15
- ds . charset = 'UTF-8' ;
16
- ( document . getElementsByTagName ( 'head' ) [ 0 ] || document . getElementsByTagName ( 'body' ) [ 0 ] ) . appendChild ( ds ) ;
17
- } ) ( ) ;
18
- </ script >
19
- <!-- 多说公共JS代码 end -->
20
- {% endif %}
21
-
22
1
{% if site.disqus_shortname %}
23
2
< div id ="disqus_thread "> </ div >
24
3
< script >
44
23
</ script >
45
24
< noscript > Please enable JavaScript to view the < a href ="https://disqus.com/?ref_noscript " rel ="nofollow "> comments powered by Disqus.</ a > </ noscript >
46
25
{% endif %}
26
+
27
+ {% if site.netease_gentie %}
28
+ < div id ="cloud-tie-wrapper " class ="cloud-tie-wrapper "> </ div >
29
+ < script >
30
+ var cloudTieConfig = {
31
+ url : document . location . href ,
32
+ sourceId : "" ,
33
+ productKey : "02e02a1dc85445b392757f6b7c96cccf" ,
34
+ target : "cloud-tie-wrapper"
35
+ } ;
36
+ </ script >
37
+ < script src ="https://img1.cache.netease.com/f2e/tie/yun/sdk/loader.js "> </ script >
38
+ {% endif %}
You can’t perform that action at this time.
0 commit comments