{% load blog_tags keyword_tags mezzanine_tags i18n future %} {% block blog_recent_posts %} {# {% blog_recent_posts 5 as recent_posts %} #} {% if recent_posts %}
{% trans "Recent Posts" %}
{% endif %} {% endblock %} {% block blog_months %} {% blog_months as months %} {% if months %}
{% trans "Archive" %}
{% for month in months %} {% ifchanged month.date.year %} {% if not forloop.first %}{% endif %}
{{ month.date.year }}
{% endif %} {% endblock %} {% block blog_categories %} {% blog_categories as categories %} {% if categories %}
{% trans "Categories" %}
{% endif %} {% endblock %} {% block blog_keywords %} {% keywords_for blog.blogpost as tags %} {% if tags %}
{% trans "Tags" %}
{% endif %} {% endblock %} {% block blog_authors %} {% blog_authors as authors %} {% if authors %}
{% trans "Authors" %}
{% endif %} {% endblock %} {% block blog_feeds %}
{% trans "Feeds" %}
{% if tag %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% if category %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% if author %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% if not tag and not category and not author %} {% trans "RSS" %} / {% trans "Atom" %} {% endif %} {% endblock %}