Merge pull request #1682 from envygeeks/patch-1

Sort plugins so people can have "load orders".
This commit is contained in:
Matt Rogers 2013-12-04 18:40:04 -08:00
commit 4a2e5af52e
1 changed files with 1 additions and 1 deletions

View File

@ -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