diff -r 9a77edda77b7 -r fda1c66b25f9 project/templates/blog/post_list.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/project/templates/blog/post_list.html Fri Oct 30 15:09:12 2009 +0530 @@ -0,0 +1,35 @@ +{% extends "blog/base_blog.html" %} + + +{% block title %}{% endblock %} +{% block body_class %}{{ block.super }} post_list{% endblock %} + + +{% block content_title %} +

Post archive

+{% endblock %} + + +{% block content %} +
+ {% for post in object_list %} +
+

{{ post.title }}

+

{{ post.publish|date:"Y F d" }}

+

{{ post.tease }}

+
+ {% endfor %} +
+ + {% if is_paginated %} +

+ {% if has_next %} + Older + {% endif %} + {% if has_next and has_previous %} | {% endif %} + {% if has_previous %} + Newer + {% endif %} +

+ {% endif %} +{% endblock %}