syntax error and some small fixes

This commit is contained in:
D-u-c-k-s-e-l 2025-07-23 14:15:37 -05:00
parent c91dfcf691
commit dc7c5affb3
5 changed files with 23 additions and 16 deletions

View file

@ -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