mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-19 03:10:24 +00:00
fix: add baseUrl to lunr suggestions href
This commit is contained in:
parent
a74c02dab3
commit
656a8b391f
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ $( document ).ready(function() {
|
|||
indexOfIndex = uri.length;
|
||||
}
|
||||
var href = uri.substring(uri.indexOf("/"), indexOfIndex);
|
||||
suggestion.href = href;
|
||||
suggestion.href = baseurl + href;
|
||||
|
||||
|
||||
var query = $("#search-by").val();
|
||||
|
|
Loading…
Reference in a new issue