_includes/comments.html in oscailte-3.0.1 vs _includes/comments.html in oscailte-3.0.2

- old
+ new

@@ -1,21 +1,21 @@ -{%- if page.comments != false and site.disqus.shortname and jekyll.environment == "production" -%} -<section class="container"> - <h1 class="SectionTitle">Comments</h1> - <div id="disqus_thread" class="Comments"></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.disqus.shortname }}.disqus.com/embed.js'; - s.setAttribute('data-timestamp', +new Date()); - (d.head || d.body).appendChild(s); - })(); - </script> - <noscript> - {{ disqus_enable_javascript }} - </noscript> -</section> +{%- if page.comments != false and site.disqus.shortname and jekyll.environment == "production" -%} +<section class="container"> + <h1 class="SectionTitle">Comments</h1> + <div id="disqus_thread" class="Comments"></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.disqus.shortname }}.disqus.com/embed.js'; + s.setAttribute('data-timestamp', +new Date()); + (d.head || d.body).appendChild(s); + })(); + </script> + <noscript> + {{ disqus_enable_javascript }} + </noscript> +</section> {%- endif -%} \ No newline at end of file