Fix broken links in the search results page.

This commit is contained in:
Chris Eppstein 2011-03-27 21:16:29 -07:00
parent 119ce9d018
commit 2521d4dd7b

View File

@ -66,7 +66,7 @@ def search_index
# puts "Indexed: #{term}" # puts "Indexed: #{term}"
end end
idx["items"][id] = { idx["items"][id] = {
"url" => "/docs#{item.identifier}", "url" => "#{item.identifier}",
"title" => item[:title], "title" => item[:title],
"crumb" => item[:crumb] "crumb" => item[:crumb]
} }