Skip to content

Instantly share code, notes, and snippets.

@sw897
Last active August 29, 2015 13:56
Show Gist options
  • Save sw897/9130242 to your computer and use it in GitHub Desktop.
Save sw897/9130242 to your computer and use it in GitHub Desktop.
jekyll-bootstrap配置
<div class="ds-thread"></div>
<script type="text/javascript">
var duoshuoQuery = {short_name:'{{ site.JB.comments.duoshuo.short_name }}'};
(function() {
var ds = document.createElement('script');
ds.type = 'text/javascript';ds.async = true;
ds.src = 'http://static.duoshuo.com/embed.js';
ds.charset = 'UTF-8';
(document.getElementsByTagName('head')[0]
|| document.getElementsByTagName('body')[0]).appendChild(ds);
})();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment