mirror of
https://github.com/twbs/bootstrap.git
synced 2025-10-03 08:41:59 +02:00
basic docs search
This commit is contained in:
@@ -147,6 +147,13 @@
|
||||
.tooltip('show')
|
||||
})
|
||||
|
||||
SimpleJekyllSearch.init({
|
||||
searchInput: document.getElementById('search-input'),
|
||||
resultsContainer: document.getElementById('search-results'),
|
||||
searchResultTemplate: '<li><a href="{url}">{title}</a></li>',
|
||||
dataSource: '/search.json'
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
}(jQuery)
|
||||
|
Reference in New Issue
Block a user