mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
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
|
# 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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue