Browse Source

Add comments_intro variable in article metadata support

Fix #32
Talha Mansoor 11 years ago
parent
commit
f65840be76
1 changed files with 3 additions and 1 deletions
  1. 3 1
      templates/comments.html

+ 3 - 1
templates/comments.html

@@ -1,6 +1,8 @@
 {% if DISQUS_SITENAME and SITEURL and article.status != 'draft' %}
 <section>
-{% if COMMENTS_INTRO %}
+{% if article.comments_intro %}
+<p id="comment-message">{{ article.comments_intro }} </p>
+{% elif COMMENTS_INTRO %}
 <p id="comment-message">{{ COMMENTS_INTRO }} </p>
 {% endif %}
 <div class="accordion" id="accordion2">