agdj/core/templates/blog/archive.html
changeset 419 b16f4fab397a
child 427 f95268754b3d
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/agdj/core/templates/blog/archive.html	Sun Feb 01 02:55:17 2009 -0500
     1.3 @@ -0,0 +1,20 @@
     1.4 +{% extends "blog/blog.html" %}
     1.5 +
     1.6 +{% block title %}204 No Content Archive{% endblock %}
     1.7 +
     1.8 +{% block header %}<h1><a href="{% url blog-index %}">204 No Content</a>
     1.9 +    <a href="{% url blog-archive %}">Archive</a></h1>{% endblock %}
    1.10 +
    1.11 +{% block content %}
    1.12 +<ul class="years">
    1.13 +    {% for year in archive %}
    1.14 +    <li>{{ year }} - {{ year.count }} total
    1.15 +        {% for month in year %}
    1.16 +        <ul class="months">
    1.17 +            <li><a href="{{ month.url }}">{{ month }} ({{ month.count }})</a></li>
    1.18 +        </ul>
    1.19 +        {% endfor %}
    1.20 +    </li>
    1.21 +    {% endfor %}
    1.22 +</ul>
    1.23 +{% endblock %}