diff options
Diffstat (limited to 'templates/aggregator/post_detail.html')
-rw-r--r-- | templates/aggregator/post_detail.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/aggregator/post_detail.html b/templates/aggregator/post_detail.html index eb39f95..574d9b1 100644 --- a/templates/aggregator/post_detail.html +++ b/templates/aggregator/post_detail.html @@ -1,8 +1,20 @@ {% extends "aggregator/base.html" %} +{% load comments %} + +{% block head %} +<link href="/static/comments.css" type="text/css" rel="stylesheet" /> +{% endblock %} {% block content %} {% include "aggregator/post_content.html" with post=object %} +{% get_comment_count for object as comment_count %} +{% if comment_count > 0 %} + {% render_comment_list for object %} +{% endif %} + +{% render_comment_form for object %} + <div id="pager"> {% with next=object.get_next_by_updated previous=object.get_previous_by_updated %} {% if previous %} |