website/www/conservancy/templates/news/pressrelease_detail.html
Brett Smith 7f5f98e5db news: Render HTML entities in press release titles.
Same rationale as for blogs a few commits ago.
2016-12-30 23:12:09 -05:00

18 lines
387 B
HTML

{% extends "base_news.html" %}
{% block subtitle %}{{ object.headline|striptags|safe }} - {% endblock %}
{% block content %}
<div id="mainContent">
<p class="date">{{ object.pub_date|date:"F j, Y" }}</p>
<h2>{{ object.headline|safe }}</h2>
{% if object.subhead %}
<h3>{{ object.subhead|safe }}</h3>
{% endif %}
{{ object.summary|safe }}
{{ object.body|safe }}
</div>
{% endblock %}