case insensitive category sorting

master
muflax 2012-05-01 18:55:12 +02:00
parent 15905b1cf1
commit 7170202a94
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class Nanoc::Site
end
# sort by title
@categories = cats.sort_by {|c| c[:cat].title}
@categories = cats.sort_by {|c| c[:cat].title.downcase}
end
def categories all=true