hooks: move after_init hook call at the end of Site.initialize
This commit is contained in:
parent
3b6561a57c
commit
b88f0a21d6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue