{% extends "base.html" %} {% load i18n future mezzanine_tags blog_tags keyword_tags disqus_tags %} {% block meta_title %}{% if page %}{{ page.richtextpage.meta_title }}{% else %}{% trans "Blog" %}{% endif %}{% endblock %} {% block meta_keywords %}{% metablock %} {% keywords_for page as keywords %} {% for keyword in keywords %} {% if not forloop.first %}, {% endif %} {{ keyword }} {% endfor %} {% endmetablock %}{% endblock %} {% block meta_description %}{% metablock %} {{ page.description }} {% endmetablock %}{% endblock %} {% block title %} {% if page %} {% editable page.title %}{{ page.title }}{% endeditable %} {% else %} {% trans "Blog" %} {% endif %} {% endblock %} {% block breadcrumb_menu %} {{ block.super }} {% if tag or category or year or month or author %}
{% if tag %} {% trans "Viewing posts tagged" %} {{ tag }} {% else %}{% if category %} {% trans "Viewing posts for the category" %} {{ category }} {% else %}{% if year or month %} {% trans "Viewing posts from" %} {% if month %}{{ month }}, {% endif %} {{ year }} {% else %}{% if author %} {% trans "Viewing posts by" %} {{ author.get_full_name|default:author.username }} {% endif %}{% endif %}{% endif %}{% endif %} {% endblock %}
{% else %} {% if page %} {% block blog_post_list_pagecontent %} {% editable page.richtextpage.content %} {{ page.richtextpage.content|richtext_filter|safe }} {% endeditable %} {% endblock %} {% endif %} {% endif %} {% for blog_post in blog_posts.object_list %} {% block blog_post_list_post_title %} {% editable blog_post.title %}
{% keywords_for blog_post as tags %}
{% if tags %}
{% trans "Tags" %}:
{% spaceless %}
{% for tag in tags %}
{{ tag }}
{% endfor %}
{% endspaceless %}
{% endif %}
{% trans "read more" %}
/
{% if settings.COMMENTS_DISQUS_SHORTNAME %}
{% trans "Comments" %}
{% else %}
{% blocktrans count blog_post.comments_count as comments_count %}1 comment{% plural %}{{ comments_count }} comments{% endblocktrans %}
{% endif %}