Skip to content

Commit

Permalink
Merge pull request #17978 from cockroachdb/search-results-url-workaround
Browse files Browse the repository at this point in the history
DOC-9018 Use Algolia hit.url instead of site.url+baseurl + hit.canonical
  • Loading branch information
mikeCRL authored Oct 7, 2023
2 parents 8004dd4 + 819b465 commit 277a2ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/current/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
hit =>
`<div class="search-item">
<div class="search-title">
<a href="${'{{ site.url }}{{ site.baseurl }}' + hit.canonical}">${hit.title}</a>
<a href="${hit.url}">${hit.title}</a>
</div>
<div class="search-snippet">${showResult(hit._highlightResult)}</div>
<div class="search-link">${hit.doc_type}</div>
Expand Down

0 comments on commit 277a2ec

Please sign in to comment.