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.
code@27
     1
{% extends "blog/blog.html" %}
code@77
     2
{% load cache %}
code@27
     3
code@27
     4
{% block content %}
code@419
     5
code@419
     6
<div>My 10 most recent posts are listed here. You can 
code@419
     7
    <a href="{% url blog-archive %}">view the archive</a> for earlier
code@419
     8
    entries.</div>
code@419
     9
code@129
    10
{% for object in posts %}
code@50
    11
{% include "blog/render_post_summary.html" %}
code@27
    12
{% endfor %}
code@27
    13
{% endblock %}
code@50
    14