Skip to content

Commit

Permalink
Merge pull request #48 from dowjcr/issue-46
Browse files Browse the repository at this point in the history
Correct search hrefs
  • Loading branch information
GeekPro101 authored Jun 8, 2024
2 parents 21b13c3 + 98b2838 commit 7529f26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/SearchModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
searchResults = searchIndex.search(insertLunrFuzzyMatcher(searchTerm));
searchPages = searchResults.map((r) => {
let [href, title] = r.ref.split('<SEP>');
href = '/' + href
return { href, title };
});
};
Expand Down

0 comments on commit 7529f26

Please sign in to comment.