mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-28 03:01:03 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user