mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Merge pull request #18987 from xcatliu/v4-dev-fix-search-json-prefix
Add prefix to footer.html search.json [skip sauce]
This commit is contained in:
commit
88aa1082c8
@ -43,7 +43,7 @@ SimpleJekyllSearch.init({
|
||||
resultsContainer: document.getElementById('search-results'),
|
||||
searchResultTemplate: '<a class="dropdown-item" href="{url}">{title}</a>',
|
||||
noResultsText: '<div class="dropdown-item no-results">Sorry, there are no results for that search.</div>',
|
||||
json: '/search.json'
|
||||
json: '{{ site.baseurl }}/search.json'
|
||||
})
|
||||
</script>
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user