Skip to content

Commit

Permalink
Merge pull request #2 from allizad/edit-indexer0-content
Browse files Browse the repository at this point in the history
Edit indexer content
  • Loading branch information
nz committed Apr 26, 2016
2 parents e0913ad + 76b650d commit 9149cdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/searchyou/generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ def generate(site)

# Iterate through the site contents and send to indexer
# TODO: what are we indexing?
site.posts.docs.each do |doc|
site.posts.each do |doc|
indexer << doc.data.merge({
id: doc.basename_without_ext,
id: doc.id,
content: doc.content
})
end
Expand Down

0 comments on commit 9149cdf

Please sign in to comment.