{% extends "all_content/base.html" %} {% load typogrify_tags cache social_tags site_tags %} {% block title %}{{ object.title }}: {% endblock %} {% block extra_title %}{{ destination }}{% endblock %} {% block description %}{{ object.title }}: {{ object.summary }} | {{ site.name }} {{ destination }}{% endblock description %} {% block extra_meta %} {% if object.has_image %}{% endif %} {% endblock %} {% block bodyid %}article-detail{% endblock %} {% block bodyclass %}article-detail{% endblock %} {% block content %}
{% cache 86400 'article' object.id object.last_modified 1 %}
{% with object.show_label as cat %} {% if cat %}

{{ cat.category }}

{% endif %} {% endwith %} {% if object.kicker %}

{{ object.kicker|typogrify }}

{% endif %}

{{ object.title|typogrify }}

{% if object.subhead %}

{{ object.subhead|typogrify }}

{% endif %}

{% firstof object.author.display_name object.guest_author %}

{% if object.source %}

{{ object.source }}

{% endif %}
{% format_time object.created None False None 'published' %} {% block top_assets %} {% with object.get_top_assets as top_assets %} {% if top_assets or object.pullquote %} {% include "includes/top_assets.html" %} {% endif %} {% endwith %} {% endblock %} {# if dateline is available, output it #} {% if object.dateline %} {% endif %} {# output body. Try autotagged first, then formatted #} {% block article_body %} {% firstof object.autotag_body|safe|urlize|typogrify object.body_formatted|safe|typogrify %} {% endblock %} {% block endnote %} {% if object.endnote %}

{{ object.endnote|urlize }}

{% endif %} {% endblock %}
{% if object.pull_quote %}

{{object.pull_quote|typogrify }}

{% endif %} {% for sidebar in object.related_sidebars.all|dictsort:'id' %} {% endfor %} {% if object.attachment_set.count %} {% endif %} {% for gallery in object.attach_galleries.all %} {% endfor %} {% block related_articles %} {% with object.get_related_articles as related %} {# first show directly related #} {% for a in related.related|slice:"3" %} {% endfor %} {# then more general related (from the same section) #} {% if related.from_section %}

More {{ object.get_section }}

{% endif %} {% endwith %} {% endblock %}
{% endcache %}
{% block comments %} {% include 'includes/comments/comments.html' %} {% endblock %} {% endblock %} {% block destination_extras %} {{ block.super }} {% if destination.is_blog %} {% include "blogs/includes/blog_extras.html" %} {% endif %} {% endblock %}