From 0abf2cb9804ed3dab7539adc1e6cbc3bb0bc1cb8 Mon Sep 17 00:00:00 2001 From: B Mathis Date: Wed, 11 Nov 2009 17:06:42 -0600 Subject: fixed the order of RSS items and posts on the archive page --- source/archives.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/archives.haml') diff --git a/source/archives.haml b/source/archives.haml index 5d78d942..4daba19c 100644 --- a/source/archives.haml +++ b/source/archives.haml @@ -4,7 +4,7 @@ title: Blog Archives --- %h2 Blog Archives -- posts = site.posts.group_by { |p| p.date.strftime("%Y") } +- posts = site.posts.reverse.group_by { |p| p.date.strftime("%Y") } - posts.keys.each do |year| %h3= year %ul -- cgit v1.2.1