Sha256: b8b0730a0ea77790093b63ec41dd636eeee546eee05b17e9ed37f168c3bcc519
Contents?: true
Size: 1.38 KB
Versions: 37
Compression:
Stored size: 1.38 KB
Contents
{% unless page.comments == false %} <section class="disqus"> <div id="disqus_thread"></div> <script type="text/javascript"> var disqus_config = function () { this.page.url = "{{site.url}}{{page.url}}"; // Replace PAGE_URL with your page's canonical URL variable this.page.identifier = "{{page.url}}"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable this.callbacks.onNewComment = [function (comment) { console.log(comment.id); console.log(comment.text); }]; }; var disqus_shortname = '{{ site.disqus.shortname }}'; var disqus_developer = 0; // developer mode is on (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); </script> <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> </section> {% endunless %}
Version data entries
37 entries across 37 versions & 2 rubygems