case insensitive category sorting
parent
15905b1cf1
commit
7170202a94
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue