mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 21:06:50 +00:00
Fix disqus comments
This commit is contained in:
parent
b18f20e6f3
commit
e66d5b81d2
@ -4,11 +4,6 @@
|
|||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
|
||||||
{% include javascripts/google_analytics.html %}
|
{% 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 %}
|
{% include javascripts/algolia.html %}
|
||||||
|
|
||||||
{% if page.sidebar != false %}
|
{% if page.sidebar != false %}
|
||||||
|
@ -15,6 +15,8 @@ is_post: true
|
|||||||
<h3 class="indent title">Comments</h3>
|
<h3 class="indent title">Comments</h3>
|
||||||
<div id="disqus_thread" aria-live="polite">{% include blog/post/disqus_thread.html %}</div>
|
<div id="disqus_thread" aria-live="polite">{% include blog/post/disqus_thread.html %}</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
{% include javascripts/disqus.html %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.comments == true and post.date > site.disqus_end_date %}
|
{% if page.comments == true and post.date > site.disqus_end_date %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user