1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
This commit is contained in:
Thomas Reynolds 2016-05-31 13:07:58 -07:00
parent 0d5c9e4313
commit 1efa585c11

View file

@ -266,6 +266,8 @@ module Middleman
# Evaluate a passed block if given # Evaluate a passed block if given
config_context.instance_exec(&block) if block_given? config_context.instance_exec(&block) if block_given?
apply_cli_options
execute_callbacks(:before_sitemap) execute_callbacks(:before_sitemap)
# Initialize the Sitemap # Initialize the Sitemap
@ -276,8 +278,6 @@ module Middleman
# Before config is parsed, before extensions get to it. # Before config is parsed, before extensions get to it.
execute_callbacks(:initialized) execute_callbacks(:initialized)
apply_cli_options
# Before config is parsed. Mostly used for extensions. # Before config is parsed. Mostly used for extensions.
execute_callbacks(:before_configuration) execute_callbacks(:before_configuration)