mojombo/jekyll — pull request #490 by baldowl (2012-01-27 18:38:15+00:00)
Title: Add years to the site payload; analogous to tags.

It simplifies the creation of yearly archives, instead of forcing users to loop over all the posts select only those whose publishing date is within a given year.

{% for post in site.years.2009 %}

{{ post.title }}

{% endfor %}