Fix broken links in the search results page.
This commit is contained in:
parent
119ce9d018
commit
2521d4dd7b
@ -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]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user