Files @ e7c1171b6e3d
Branch filter:

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

brett
blog: Refactor entry rendering into a partial.

This helps ensure that entries are rendered consistently wherever they
appear.
{% extends "base_blog.html" %}

{% block subtitle %}Conservancy Blog Archive: {{ year|date:"Y" }} - {% endblock %}

{% block content %}

<h2>Conservancy Blog Archive: {{ year|date:"Y" }}</h2>

{% for entry in object_list %}
  {% include "blog/entry_partial.html" with entry=entry show="dateline" only %}
{% endfor %}

{% endblock %}