Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dnoneill committed Oct 13, 2023
1 parent f191b6f commit 919fd10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/jekyll_lunr_js_custom_search.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def pages_to_index(site)
# deep copy pages and documents (all collections, including posts)
@config['collections'].each do |collection|
site.collections[collection].docs.each do |filedata|
items.push(filedata.data)
items.push(filedata)
end
end
{:items => items}
Expand Down
2 changes: 1 addition & 1 deletion lib/jekyll_lunr_js_custom_search/indexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def pages_to_index(site)
# deep copy pages and documents (all collections, including posts)
@config['collections'].each do |collection|
site.collections[collection].docs.each do |filedata|
items.push(filedata.data)
items.push(filedata)
end
end
{:items => items}
Expand Down

0 comments on commit 919fd10

Please sign in to comment.