website/www/conservancy/templates/blog/entry_archive_year.html
Brett Smith e7c1171b6e blog: Refactor entry rendering into a partial.
This helps ensure that entries are rendered consistently wherever they
appear.
2016-12-30 23:12:09 -05:00

13 lines
333 B
HTML

{% 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 %}