Update the help message and comments to use config.yml

This commit is contained in:
Nick Quaranto 2009-04-23 18:24:52 -04:00
parent dd268fae95
commit 563933f114
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ Basic Command Line Usage:
jekyll <path to write generated site> # . -> <path> jekyll <path to write generated site> # . -> <path>
jekyll <path to source> <path to write generated site> # <path> -> <path> jekyll <path to source> <path to write generated site> # <path> -> <path>
Configuration is read from '<source>/_config.yaml' but can be overriden Configuration is read from '<source>/_config.yml' but can be overriden
using the following options: using the following options:
HELP HELP

View File

@ -27,7 +27,7 @@ require 'jekyll/tags/include'
require 'jekyll/albino' require 'jekyll/albino'
module Jekyll module Jekyll
# Default options. Overriden by values in _config.yaml or command-line opts. # Default options. Overriden by values in _config.yml or command-line opts.
# (Strings rather symbols used for compatability with YAML) # (Strings rather symbols used for compatability with YAML)
DEFAULTS = { DEFAULTS = {
'auto' => false, 'auto' => false,
@ -61,7 +61,7 @@ module Jekyll
# then, we need to know where to look for _config.yml # then, we need to know where to look for _config.yml
source = override['source'] || Jekyll::DEFAULTS['source'] source = override['source'] || Jekyll::DEFAULTS['source']
# Get configuration from <source>/_config.yaml # Get configuration from <source>/_config.yml
config = {} config = {}
config_file = File.join(source, '_config.yml') config_file = File.join(source, '_config.yml')
begin begin