Show year only.

This commit is contained in:
Bradley M. Kuhn 2015-03-04 14:46:35 -08:00
parent e54aff906c
commit 929b381cec

View file

@ -1,10 +1,10 @@
{% extends "base_blog.html" %}
{% block subtitle %}Conservancy Blog Archive: {{ year }} - {% endblock %}
{% block subtitle %}Conservancy Blog Archive: {{ year|date:"Y" }} - {% endblock %}
{% block content %}
<h2>Conservancy Blog Archive: {{ year }}</h2>
<h2>Conservancy Blog Archive: {{ year|date:"Y" }}</h2>
<ul>
{% for object in object_list %}