configure now sets the source and dest fields so the Liquid include filter works again

This commit is contained in:
mreid 2009-02-24 18:28:01 +11:00
parent 9f3244e884
commit 4b39c44664
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,8 @@ module Jekyll
# Initializes some global Jekyll parameters # Initializes some global Jekyll parameters
def self.configure(options) def self.configure(options)
# Interpret the simple options and configure Jekyll appropriately # Interpret the simple options and configure Jekyll appropriately
Jekyll.source = options['source']
Jekyll.dest = options['destination']
Jekyll.lsi = options['lsi'] Jekyll.lsi = options['lsi']
Jekyll.pygments = options['pygments'] Jekyll.pygments = options['pygments']
Jekyll.permalink_style = options['permalink'].to_sym Jekyll.permalink_style = options['permalink'].to_sym