Sha256: 218728271dc9d03ed61695a2a33fa63b931ddbb5325a88419c3ea11d85b8d4f8
Contents?: true
Size: 1.4 KB
Versions: 74
Compression:
Stored size: 1.4 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.data.settings.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
74 entries across 74 versions & 1 rubygems