Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Simplify year output logic in post_index #166
While modifying the base theme to support tags and multiple categories, the year output on post_index got messed up multiple times due to it assuming all posts in site.posts will be posted on the post_index page (no if statements will be added or such). My post_index is modified in more different ways, but I think this particular change would benefit people forking the code in the future.