Source

djangocong_2011 / templates / blog / post_archive_year.html

{% extends "blog/base_blog.html" %}

{% load i18n %}

{% block title %}{% trans "Post archive for" %} {{ year }}{% endblock %}
{% block body_class %}{{ block.super }} post_archive_year{% endblock %}


{% block content_title %}
  <h2>{% trans "Post archive for" %} {{ year }}</h2>
{% endblock %}


{% block content %}  
  <ul class="link_list">
    {% for month in date_list %}
    <li><a href="{% url blog_index %}{{ year }}/{{ month|date:"b" }}/" title="{% trans "View items posted this month" %}">{{ month|date:"F" }}</a></li>
    {% endfor %}
  </ul>
{% endblock %}