Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add years to the site payload; analogous to tags. #490

wants to merge 1 commit into


None yet
4 participants

baldowl commented Jan 27, 2012

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 %}
  <li><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}

baldowl commented Jan 18, 2013

Any chance to see this PR merged in?

why-el commented Jan 18, 2013

What about when people want to categorize by month or some other factor? I think this feature is great, but it may bring in more questions and assumptions on the part of developers.

@parkr parkr closed this Mar 17, 2013


parkr commented Mar 17, 2013

I would tend to agree with @why-el. If you want to share this, this could be easily integrated as a plugin! :)

@jekyllbot jekyllbot locked and limited conversation to collaborators Feb 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.