-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathsearch.html
28 lines (25 loc) · 885 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
---
layout: default
---
<h1>Search</h1>
<p>Search hundreds of past presenters, blog posts and projects at Chi Hack Night.</p>
<div id="search-container">
<form role="search">
<input class="form-control" type="text" id="search-input" title="Search" placeholder="Search for presenters, blog posts, etc ...">
</form>
<hr />
<div id="results-container"></div>
</div>
<p><small><em>Note: Only the top 20 results are displayed</em></small></p>
<!-- Script pointing to search-script.js -->
<script src="/lib/jekyll-search.js" type="text/javascript"></script>
<!-- Configuration -->
<script>
SimpleJekyllSearch({
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('results-container'),
searchResultTemplate: '<p><strong>{categories} > <a href="{url}">{title}</a></strong> {date}</small>',
json: '/search.json',
limit: 20
})
</script>