diff -r 9a77edda77b7 -r fda1c66b25f9 project/templates/blog/post_detail.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/project/templates/blog/post_detail.html Fri Oct 30 15:09:12 2009 +0530 @@ -0,0 +1,77 @@ +{% extends "blog/base_blog.html" %} + + +{% block title %}{{ object.title }}{% endblock %} +{% block body_class %}{{ block.super }} post_detail{% endblock %} +{% block body_id %}post_{{ object.id }}{% endblock %} + + +{% block content_title %} +
+ {% if object.get_previous_by_publish %} + « {{ object.get_previous_post }} + {% endif %} + {% if object.get_next_by_publish %} + | {{ object.get_next_post }} » + {% endif %} +
+{% endblock %} + + +{% block content %} + {% load blog markup comments tagging_tags %} + +{{ object.publish|date:"j F Y" }}
+ +Related tags: + {% for tag in tag_list %} + {{ tag }}{% if not forloop.last %}, {% endif %} + {% endfor %} +
+ {% endif %} + + {% get_comment_list for object as comment_list %} + {% if comment_list %} +Comments have been close for this post.
+Please login in to comment.
+
Comments
+ {% for comment in comment_list %} + {% if comment.is_public %} ++ {{ forloop.counter }} + {% if comment.user_url %}{{ comment.user_name }}{% else %}{{ comment.user_name }}{% endif %} says... +
+ {{ comment.comment|urlizetrunc:"60"|markdown:"safe" }} +Posted at {{ comment.submit_date|date:"P" }} on {{ comment.submit_date|date:"F j, Y" }}
+