{% extends "base.html" %} {% load i18n future mezzanine_tags blog_tags keyword_tags disqus_tags %} {% block meta_title %}{% if page %}{{ page.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_wrapper %} {{block.super}} {% block title %}{{block.super}}{% endblock %} {% 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 %} {% if page.get_content_model.content %} {% editable page.get_content_model.content %} {{ page.get_content_model.content|richtext_filters|safe }} {% endeditable %} {% endif %} {% endblock %} {% endif %} {% endif %}
{% if settings.BLOG_USE_FEATURED_IMAGE and blog_post.featured_image %}
{% block blog_post_list_post_featured_image %}
{% endblock %}
{% endif %}