comments.html 985 B

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