-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.html
34 lines (27 loc) · 952 Bytes
/
search.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
layout: default
---
<div class="container-fluid index">
<div class="row index all-posts">
<h1 class="header author-header">Search</h1>
<div id="search-container">
<input type="text" id="search-input" placeholder="Type here...">
<div class="col-md-12 content-panel articles">
<ul id="results-container"><small>Start typing to see some results</small></ul>
</div>
</div>
</div>
</div>
<hr class="search-hr" />
<script src="{{ site.baseurl }}/js/jekyll-search.js" type="text/javascript"></script>
<script type="text/javascript">
SimpleJekyllSearch.init({
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('results-container'),
dataSource: '{{ site.baseurl }}/search.json',
searchResultTemplate: '<li><a href="{url}" title="{desc}">{title}<\/a><\/li>',
noResultsText: 'No results found',
limit: 10,
fuzzy: true,
})
</script>