commit ddded6cad558c8af811066409ba45d561dde164f
parent 99dd04dbb8774f18193d817f4504b92d4c433549
Author: Heiswayi Nrird <heiswayi@users.noreply.github.com>
Date: Thu, 17 Nov 2016 14:38:26 +0800
Merge pull request #8 from hoteit/master
minor correction to enable / disable comments
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
# Build settings
permalink : /:year/:title/
diff --git a/_includes/comments.html b/_includes/comments.html
@@ -1,4 +1,4 @@
-{% if page.comments %}
+{% if site.comments %}
<aside id="comments" class="disqus">
<div class="container">
@@ -25,4 +25,4 @@
</div>
</aside>
-{% endif %}
-\ No newline at end of file
+{% endif %}