agdj/core/templates/blog/post_list.html
author Adam Gomaa <code@adam.gomaa.us>
Sun Feb 01 02:55:17 2009 -0500
changeset 419 b16f4fab397a
parent 416 5a586a8c2f8f
child 428 4ac33706b74f
permissions -rw-r--r--
Add per-month archive, only show 10 on the main page.
     1 {% extends "blog/blog.html" %}
     2 {% load cache %}
     3 
     4 {% block content %}
     5 
     6 <div>My 10 most recent posts are listed here. You can 
     7     <a href="{% url blog-archive %}">view the archive</a> for earlier
     8     entries.</div>
     9 
    10 {% for object in posts %}
    11 {% include "blog/render_post_summary.html" %}
    12 {% endfor %}
    13 {% endblock %}
    14