Fix #1866
This commit is contained in:
parent
0d5c9e4313
commit
1efa585c11
1 changed files with 2 additions and 2 deletions
|
@ -266,6 +266,8 @@ module Middleman
|
|||
# Evaluate a passed block if given
|
||||
config_context.instance_exec(&block) if block_given?
|
||||
|
||||
apply_cli_options
|
||||
|
||||
execute_callbacks(:before_sitemap)
|
||||
|
||||
# Initialize the Sitemap
|
||||
|
@ -276,8 +278,6 @@ module Middleman
|
|||
# Before config is parsed, before extensions get to it.
|
||||
execute_callbacks(:initialized)
|
||||
|
||||
apply_cli_options
|
||||
|
||||
# Before config is parsed. Mostly used for extensions.
|
||||
execute_callbacks(:before_configuration)
|
||||
|
||||
|
|
Loading…
Reference in a new issue