File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change 1
- <ul class="ds-recent-comments" data-num-items="10" data-show-avatars="1" data-show-time="1" data-show-admin="1" data-excerpt-length="70"></ul>
2
- <!--多说js加载开始,一个页面只需要加载一次 -->
1
+ <div class="ds-thread"></div>
3
2
<script type="text/javascript">
4
- var duoshuoQuery = {short_name:"feenan" };
5
- (function() {
6
- var ds = document.createElement('script');
7
- ds.type = 'text/javascript';ds.async = true;
8
- ds.src = 'http://static.duoshuo.com/embed.js';
9
- ds.charset = 'UTF-8';
10
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ds);
11
- })( );
12
- </script>
13
- <!--多说js加载结束,一个页面只需要加载一次 -- >
3
+ var duoshuoQuery = {short_name:'{{ site.JB.comments.duoshuo.short_name }}' };
4
+ (function() {
5
+ var ds = document.createElement('script');
6
+ ds.type = 'text/javascript';ds.async = true;
7
+ ds.src = 'http://static.duoshuo.com/embed.js';
8
+ ds.charset = 'UTF-8';
9
+ (document.getElementsByTagName('head')[0]
10
+ || document.getElementsByTagName('body')[0]).appendChild(ds );
11
+ })();
12
+ </script >
You can’t perform that action at this time.
0 commit comments