_includes/plugins/comments/disqus.html in jekyll-theme-h2o-ac-1.3.6 vs _includes/plugins/comments/disqus.html in jekyll-theme-h2o-ac-1.4.0
- old
+ new
@@ -1,5 +1,5 @@
-{% if site.comments.disqus or page.comments.disqus %}
+{% if page.comments.utterances or site.comments.disqus and layout.type == "post" %}
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
/*
\ No newline at end of file