lib/toto.rb in ceilingfish-toto-0.4.2 vs lib/toto.rb in ceilingfish-toto-0.4.3
- old
+ new
@@ -65,10 +65,10 @@
module PageHelpers
include ConfigHelpers
def archives filter = ""
entries = ! self.articles.empty??
- self.articles.select do |a|
+ self.articles.reverse.select do |a|
filter !~ /^\d{4}/ || a.path =~ /^\/#{filter}/
end : []
return Archives.new(entries, @config)
end