{% extends "base.html" %} {% load i18n mezzanine_tags blog_tags %} {% block meta_title %}{% setting "BLOG_TITLE" %}{% endblock %} {% block meta_description %}{% setting "BLOG_DESCRIPTION" %}{% endblock %} {% block title %}{% setting "BLOG_TITLE" %}{% endblock %} {% block main %}
{% if tag %} {% trans "Viewing posts tagged" %} {{ tag }} {% else %}{% if year or month %} {% trans "Viewing posts from" %} {% if month %}{{ month }}, {% endif %} {{ year }} {% else %}{% if user %} {% trans "Viewing posts by" %} {{ user.get_full_name|default:user.username }} {% else %} {% setting "BLOG_DESCRIPTION" %} {% endif %}{% endif %}{% endif %}
{% for blog_post in blog_posts.object_list %}
{{ blog_post.description|safe }}
{% trans "read more" %} /
{% if use_disqus %}
{% trans "Comments" %}
{% else %}
{% blocktrans count blog_post.num_comments as num_comments %}
1 comment
{% plural %}
{{ num_comments }} comments
{% endblocktrans %}
{% endif %}
{% trans "Page" %} {{ blog_posts.number }} {% trans "of" %} {{ blog_posts.paginator.num_pages }}: