Files @ d5f461d87963
Branch filter:

Location: website/www/conservancy/templates/news/pressrelease_detail.html - annotation

brett
news: Refactor press release rendering into a partial.

Same rationale as a few commits ago for blog entries.
{% extends "base_news.html" %}

{% block subtitle %}{{ object.headline|striptags|safe }} - {% endblock %}

{% block content %}

<div id="mainContent">
{% include "news/pressrelease_partial.html" with pressr=object htag="h2" only %}
</div>
{% endblock %}