Remove command options from default config
Removing command line options from the config is a path towards cleaning up the configuration file and not including options which don't really belong there.
This commit is contained in:
parent
e24bb02576
commit
a151a16f09
|
@ -51,26 +51,22 @@ require_all 'jekyll/tags'
|
||||||
module Jekyll
|
module Jekyll
|
||||||
VERSION = '0.11.2'
|
VERSION = '0.11.2'
|
||||||
|
|
||||||
# Default options. Overriden by values in _config.yml or command-line opts.
|
# Default options. Overriden by values in _config.yml.
|
||||||
# Strings rather than symbols are used for compatability with YAML.
|
# Strings rather than symbols are used for compatability with YAML.
|
||||||
DEFAULTS = {
|
DEFAULTS = {
|
||||||
'safe' => false,
|
|
||||||
'auto' => false,
|
|
||||||
'server' => false,
|
|
||||||
'server_port' => 4000,
|
|
||||||
|
|
||||||
'source' => Dir.pwd,
|
'source' => Dir.pwd,
|
||||||
'destination' => File.join(Dir.pwd, '_site'),
|
'destination' => File.join(Dir.pwd, '_site'),
|
||||||
|
|
||||||
'plugins' => File.join(Dir.pwd, '_plugins'),
|
'plugins' => File.join(Dir.pwd, '_plugins'),
|
||||||
'layouts' => '_layouts',
|
'layouts' => '_layouts',
|
||||||
|
|
||||||
'future' => true,
|
'future' => true, # remove and make true just default
|
||||||
'lsi' => false,
|
'pygments' => false, # remove and make true just default
|
||||||
'pygments' => false,
|
|
||||||
'markdown' => 'maruku',
|
'markdown' => 'maruku', # no longer a command option
|
||||||
'permalink' => 'date',
|
'permalink' => 'date', # no longer a command option
|
||||||
'include' => ['.htaccess'],
|
'include' => ['.htaccess'], # no longer a command option
|
||||||
'paginate_path' => 'page:num',
|
'paginate_path' => 'page:num', # no longer a command option
|
||||||
|
|
||||||
'markdown_ext' => 'markdown,mkd,mkdn,md',
|
'markdown_ext' => 'markdown,mkd,mkdn,md',
|
||||||
'textile_ext' => 'textile',
|
'textile_ext' => 'textile',
|
||||||
|
|
Loading…
Reference in New Issue