syntax error and some small fixes
This commit is contained in:
parent
c91dfcf691
commit
dc7c5affb3
5 changed files with 23 additions and 16 deletions
|
|
@ -18,7 +18,7 @@ module Jekyll
|
|||
end
|
||||
if config['settings']['process_collections'] == true
|
||||
combined_applicable += site.collections.values.map(&:docs).flatten
|
||||
elif config['settings']['process_collections'].is_a?(Array)
|
||||
elsif config['settings']['process_collections'].is_a?(Array)
|
||||
for collection_name in config['settings']['process_collections']
|
||||
if site.collections.key?(collection_name)
|
||||
combined_applicable += site.collections[collection_name].docs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue