mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-11 08:54:23 +01:00
Add prefix to footer.html search.json
This commit is contained in:
parent
c9f5f13fd9
commit
fe18aa8cb5
@ -43,7 +43,7 @@ SimpleJekyllSearch.init({
|
|||||||
resultsContainer: document.getElementById('search-results'),
|
resultsContainer: document.getElementById('search-results'),
|
||||||
searchResultTemplate: '<a class="dropdown-item" href="{url}">{title}</a>',
|
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>',
|
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>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user