Files @ 9fbc652c7c88
Branch filter:

Location: website/www/conservancy/templates/blog/entry_archive_month.html

brett
blog: Mark entry headline safe in title.

We already strip tags, but this lets HTML entities render correctly.
{% extends "base_blog.html" %}

{% block subtitle %}Conservancy Blog Archive: {{ month|date:"F, Y" }} - {% endblock %}

{% block content %}

<h2>Conservancy Blog Archive: {{ month|date:"F, Y" }}</h2>

{% for object in object_list %}
    <h3><a href="{{ object.get_absolute_url }}">{{ object.headline|safe }}</a></h3>
        {{ object.summary|safe }}
    <p><span class="continued"><a href="{{ object.get_absolute_url }}">Read More...</a></span></p>
    <p class="date small">Posted by <strong>{{ object.author.formal_name }}</strong> on {{ object.pub_date|date:"F j, Y" }}
    {% if object.tags.all %}<span class="blog-tags">/ Tags: {% for tag in object.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</span>{% endif %}
    </p>
{% endfor %}

{% endblock %}