Fix exclude to be an empty array

if no exclude is defined in the config file, the exclude should
simply be an empty array.
This commit is contained in:
duritong 2009-04-24 10:04:27 +02:00
parent 5b540cf744
commit 9a0485e812
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ module Jekyll
self.pygments = config['pygments']
self.permalink_style = config['permalink'].to_sym
self.exclude = config['exclude']
self.exclude = config['exclude'] || []
self.reset
self.setup