Fix disqus comments

This commit is contained in:
Paulus Schoutsen 2018-01-27 01:01:24 -08:00
parent b18f20e6f3
commit e66d5b81d2
2 changed files with 2 additions and 5 deletions

View File

@ -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 %}

View File

@ -15,6 +15,8 @@ is_post: true
<h3 class="indent title">Comments</h3>
<div id="disqus_thread" aria-live="polite">{% include blog/post/disqus_thread.html %}</div>
</section>
{% include javascripts/disqus.html %}
{% endif %}
{% if page.comments == true and post.date > site.disqus_end_date %}