File tree 3 files changed +18
-0
lines changed
3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 92
92
num_posts : 5
93
93
width : 580
94
94
colorscheme : light
95
+ duoshuo :
96
+ short_name : jekyllbootstrap
95
97
96
98
# Settings for analytics helper
97
99
# Set 'provider' to the analytics provider you want to use.
Original file line number Diff line number Diff line change 9
9
{% include JB/comments-providers/intensedebate %}
10
10
{% when "facebook" %}
11
11
{% include JB/comments-providers/facebook %}
12
+ {% when "duoshuo" %}
13
+ {% include JB/comments-providers/duoshuo %}
12
14
{% when "custom" %}
13
15
{% include custom/comments %}
14
16
{% endcase %}
Original file line number Diff line number Diff line change
1
+ <!-- Duoshuo Comment BEGIN -->
2
+ <div class="ds-thread"{% if page.wordpress_id %} data-thread-key="{{page.wordpress_id}}"{% endif %}></div>
3
+ <script type="text/javascript">
4
+ var duoshuoQuery = {short_name:'{{ site.JB.comments.duoshuo.short_name }}'};
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]
11
+ || document.getElementsByTagName('body')[0]).appendChild(ds);
12
+ })();
13
+ </script>
14
+ <!-- Duoshuo Comment END -->
You can’t perform that action at this time.
0 commit comments