diff --git a/_config.yml b/_config.yml index 23a46ac..3e2315c 100644 --- a/_config.yml +++ b/_config.yml @@ -7,7 +7,6 @@ logo: site-logo.png search: true url: http://localhost:4000 - # Jekyll configuration permalink: /:categories/:title/ @@ -50,4 +49,4 @@ owner: verify: ad-client: ad-slot: - bing-verify: \ No newline at end of file + bing-verify: diff --git a/_includes/scripts.html b/_includes/scripts.html index bed3b4d..0793834 100644 --- a/_includes/scripts.html +++ b/_includes/scripts.html @@ -23,7 +23,3 @@ })(); {% endif %} - -{% if page.comments or site.comments %} - {% include disqus_comments.html %} -{% endif %} diff --git a/_layouts/post.html b/_layouts/post.html index f5cd081..4b6536c 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -41,7 +41,10 @@
{{ content }} - {% if (site.owner.disqus-shortname and page.comments) or site.comments %}
{% endif %} + {% if (site.owner.disqus-shortname and page.comments) or site.comments %} +
+ {% include disqus_comments.html %} + {% endif %}