Simplify Jekyll::Hooks.trigger logic (#8044)
Simplify Jekyll::Hooks.trigger logic (#8044)

Merge pull request 8044
jekyll/jekyll,chrisfinazzo/jekyll,fulldecent/jekyll,chrisfinazzo/jekyll,jaybe-jekyll/jekyll,x-way/jekyll,jekyll/jekyll,x-way/jekyll,fulldecent/jekyll,jekyll/jekyll,jaybe-jekyll/jekyll,chrisfinazzo/jekyll,ryanshaw/jekyll,jaybe-jekyll/jekyll,fulldecent/jekyll,ryanshaw/jekyll,ryanshaw/jekyll,yhironaka/yhironaka.github.io,x-way/jekyll,ryanshaw/jekyll,fulldecent/jekyll,chrisfinazzo/jekyll,jekyll/jekyll,jaybe-jekyll/jekyll,x-way/jekyll