diff --git a/source/_includes/javascripts/scripts.html b/source/_includes/javascripts/scripts.html index 71b49ae662e..dcb2fc520a1 100644 --- a/source/_includes/javascripts/scripts.html +++ b/source/_includes/javascripts/scripts.html @@ -4,11 +4,6 @@ {% endcomment %} {% include javascripts/google_analytics.html %} - -{% if site.disqus_short_name and post.date < site.disqus_end_date and page.comments == true %} -{% include javascripts/disqus.html %} -{% endif %} - {% include javascripts/algolia.html %} {% if page.sidebar != false %} diff --git a/source/_layouts/post.html b/source/_layouts/post.html index 3ba1b0b4e6b..27171790019 100644 --- a/source/_layouts/post.html +++ b/source/_layouts/post.html @@ -15,6 +15,8 @@ is_post: true

Comments

{% include blog/post/disqus_thread.html %}
+ +{% include javascripts/disqus.html %} {% endif %} {% if page.comments == true and post.date > site.disqus_end_date %}