Merge pull request #1682 from envygeeks/patch-1
Sort plugins so people can have "load orders".
This commit is contained in:
commit
4a2e5af52e
|
@ -73,7 +73,7 @@ module Jekyll
|
|||
# directory.
|
||||
unless self.safe
|
||||
self.plugins.each do |plugins|
|
||||
Dir[File.join(plugins, "**/*.rb")].each do |f|
|
||||
Dir[File.join(plugins, "**/*.rb")].sort.each do |f|
|
||||
require f
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue