Sort instantiated subclasses in Site.

This commit is contained in:
Tommy Sullivan
2013-03-16 15:24:12 +01:00
committed by Parker Moore
parent 10ee5c8999
commit caa6a4ebfd

View File

@@ -389,7 +389,7 @@ module Jekyll
def instantiate_subclasses(klass)
klass.subclasses.select do |c|
!self.safe || c.safe
end.map do |c|
end.sort.map do |c|
c.new(self.config)
end
end