aboutsummaryrefslogtreecommitdiff
path: root/source/archives.haml
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2009-11-11 17:06:42 -0600
committerB Mathis <brandon@imathis.com>2009-11-11 17:06:42 -0600
commit0abf2cb9804ed3dab7539adc1e6cbc3bb0bc1cb8 (patch)
tree88f4d1227451aac655ee37b314937665aa698519 /source/archives.haml
parent50e218dd6630803c6fa13b3359671cca9079be7d (diff)
downloadmy_new_personal_website-0abf2cb9804ed3dab7539adc1e6cbc3bb0bc1cb8.tar.xz
my_new_personal_website-0abf2cb9804ed3dab7539adc1e6cbc3bb0bc1cb8.zip
fixed the order of RSS items and posts on the archive page
Diffstat (limited to '')
-rw-r--r--source/archives.haml2
1 files changed, 1 insertions, 1 deletions
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