diff options
Diffstat (limited to 'weblog/templates')
-rwxr-xr-x | weblog/templates/weblog/post.html | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/weblog/templates/weblog/post.html b/weblog/templates/weblog/post.html index 7a7a09a..ec999c7 100755 --- a/weblog/templates/weblog/post.html +++ b/weblog/templates/weblog/post.html @@ -60,24 +60,22 @@ </div> {% endif %} {% endif %} - <div id="comment-section"> - {% for comment in comments %} - <div class="media"> - <div class="media-body"> - <h4 class="media-heading">{% if comment.author %}{{ comment.author.get_username }}{% else %}{% trans 'Anonymous' context 'Unauthenticated comment poster' %}{% endif %}</h4> - <p>{{ comment.content }}</p> - <p class="media-date">{{ comment.publish_date }}</p> - </div> + {% for comment in comments %} + <div class="media"> + <div class="media-body"> + <h4 class="media-heading">{% if comment.author %}{{ comment.author.get_username }}{% else %}{% trans 'Anonymous' context 'Unauthenticated comment poster' %}{% endif %}</h4> + <p>{{ comment.content }}</p> + <p class="media-date">{{ comment.publish_date }}</p> </div> - {% endfor %} - {% else %} - <div class="text-center"> - <br> - <h3>{% trans 'Nobody has left a comment on this post yet' %}</h3> </div> - {% endif %} + {% endfor %} + {% else %} + <div class="text-center"> + <br> + <h3>{% trans 'Nobody has left a comment on this post yet' %}</h3> </div> {% endif %} + {% endif %} </div> <script> function changeLang(lang){ |