commit c2bb6c2b2f5aad4c88e149583b6a8702d3f964eb
parent 99dd04dbb8774f18193d817f4504b92d4c433549
Author: Tarek Hoteit <tarek.hoteit@one.verizon.com>
Date: Wed, 16 Nov 2016 15:57:35 -0800
fixed comments display or hide in config and comments.html page
Diffstat:
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/_config.yml b/_config.yml
@@ -12,7 +12,7 @@ google_analytics: UA-XXXXX-XX
repo: http://github.com/heiswayi/thinkspace
disqus_shortname: "heiswayi"
twitter_username: "HeiswayiNrird"
-comments: true
+comments: true #activate comments if true, otherwise no comments
# Build settings
permalink : /:year/:title/
diff --git a/_includes/comments.html b/_includes/comments.html
@@ -1,4 +1,4 @@
-{% if page.comments %}
+{% if page.comments == true %}
<aside id="comments" class="disqus">
<div class="container">
@@ -25,4 +25,4 @@
</div>
</aside>
-{% endif %}
-\ No newline at end of file
+{% endif %}