-
Notifications
You must be signed in to change notification settings - Fork 585
/
Copy pathsearch.html
43 lines (37 loc) · 1.18 KB
/
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
35
36
37
38
39
40
41
42
43
---
layout: search
---
<!DOCTYPE html>
<html>
<head>
{% include head.html %}
<script type="text/javascript">
var search_blob = {
{% for page in site.pages %}
{% if page.indexed_by_search != false %}
"{{ site.baseurl }}{{ page.url }}": {
"title": {{ page.title | escape | jsonify }},
"content": {{ page.content | remove_first: '* TOC' | replace_first:':toc',':class="blank"' | markdownify | strip_html | normalize_whitespace | jsonify }}
}{% unless forloop.last %},{% endunless %}
{% endif %}
{% endfor %}
};
</script>
<script src="{{ site.baseurl }}/assets/js/lunr.min.js"></script>
<script src="{{ site.baseurl }}/assets/js/search.js"></script>
</head>
<body>
<div class="container">
{% include header.html %}
{% include docs_menu.html %}
<div class="content .col-xs-12 .col-sm-8 .col-md-9">
<h1 id="searchHeading"></h1>
<br />
<div id="searchResultsContainer">
<p>Loading search results...</p>
</div>
{% include footer.html %}
</div>
</div>
</body>
</html>