Sha256: f08517e108d4d9b46b497a99c9cbe327985e17aa2fcf185980558acb216172fb

Contents?: true

Size: 735 Bytes

Versions: 2

Compression:

Stored size: 735 Bytes

Contents

{%- if page.comments != false and jekyll.environment == "production" and site.data.disqus -%}

  <div id="disqus_thread"></div>
  <script>
    var disqus_config = function () {
      this.page.url = '{{ page.url | absolute_url }}';
      this.page.identifier = '{{ page.url | absolute_url }}';
    };

    (function() {
      var d = document, s = d.createElement('script');

      s.src = 'https://{{ site.data.disqus.shortname }}.disqus.com/embed.js';

      s.setAttribute('data-timestamp', +new Date());
      (d.head || d.body).appendChild(s);
    })();
  </script>
  <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
{%- endif -%}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
minima-rock-0.9.3 _includes/disqus_comments.html
minima-rock-0.8.2 _includes/disqus_comments.html