hooks: move after_init hook call at the end of Site.initialize

This commit is contained in:
Anatoliy Yastreb 2016-07-15 10:31:02 +03:00
parent 3b6561a57c
commit b88f0a21d6
1 changed files with 2 additions and 2 deletions

View File

@ -29,10 +29,10 @@ module Jekyll
Jekyll.sites << self Jekyll.sites << self
Jekyll::Hooks.trigger :site, :after_init, self
reset reset
setup setup
Jekyll::Hooks.trigger :site, :after_init, self
end end
# Public: Set the site's configuration. This handles side-effects caused by # Public: Set the site's configuration. This handles side-effects caused by