Files @ d5f461d87963
Branch filter:

Location: website/www/conservancy/templates/news/pressrelease_archive_day.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 title %}Conservancy News Index - {{ day|date:"F j, Y" }}{% endblock %}

{% block content %}

<h2>Conservancy News Index - {{ day|date:"F j, Y" }}</h2>

{% for pressr in object_list %}
  {% include "news/pressrelease_partial.html" with pressr=pressr show="dateline" only %}
{% endfor %}

{% endblock %}