{% extends "blog/base.html" %} {% load i18n %} {% load markup %} {% load uniqdate %} {% block title %}{% trans "Blog" %} :: {% trans "Archive" %}{% endblock %} {% block breadcrumbs %}{% trans "Blog" %} / {% trans "Archive" %}{% endblock %} {% block content %}

{% trans "Latest Posts" %}

{% if latest %}
{% for latest_blog in latest %}
{{ latest_blog.headline|escape }}: {{ latest_blog.summary|escape }}
{% trans "by" %} {{ latest_blog.author }} {% trans "on" %} {{ latest_blog.pub_date|date:"Y-m-d H:i" }}, {% load comments %} {% get_comment_list for blog.post latest_blog.id as comment_list %} {% if comment_list %} {% get_comment_count for blog.post latest_blog.id as comment_count %} {{ comment_count }} {% trans "comment" %}{{ comment_count|pluralize }} {% else %} 0 {% trans "comments" %} {% endif %}
{% endfor %} {% else %}

No blog posts yet.

{% endif %}
{% if date_list %}

{% trans "Archive" %}

    {% for year in date_list|uniqdate:"year,False" %}
  • {{ year }}
  • {% endfor %}
{% endif %}
{% endblock %} {% block aside-info %}
{% trans "This is the archive, showing the latest blog entries and links to drill through all years" %}.
{% endblock %}