comments.html 977 B

12345678910111213141516171819202122232425262728
  1. {% if DISQUS_SITENAME and SITEURL and article.status != "draft" %}
  2. <section>
  3. {% if COMMENTS_INTRO %}
  4. <p id="comment-message">{{ COMMENTS_INTRO }} </p>
  5. {% endif %}
  6. <div class="accordion" id="accordion2">
  7. <div class="accordion-group">
  8. <div class="accordion-heading">
  9. <a class="accordion-toggle disqus-comment-count" data-toggle="collapse" data-parent="#accordion2"
  10. {% if article.disqus_identifier %}
  11. data-disqus-identifier="{{ article.disqus_identifier }}"
  12. {% endif %}
  13. href="{{ SITEURL }}/{{ article.url }}#disqus_thread">
  14. Comments
  15. </a>
  16. </div>
  17. <div id="disqus_thread" class="accordion-body collapse">
  18. <div class="accordion-inner">
  19. <div class="comments">
  20. {% include 'disqus_script_comment.html' %}
  21. </div>
  22. </div>
  23. </div>
  24. </div>
  25. </div>
  26. </section>
  27. {% endif %}