-
Notifications
You must be signed in to change notification settings - Fork 61
/
search.html
46 lines (38 loc) · 1.17 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
44
45
---
layout: search
title: Advanced search
date: 2012-11-08
---
This full-text search takes a while to load but will provide the most accurate results. Please be patient.
<div id="search">
<form action="/search" method="get" class="navbar-search pull-left">
<input type="text" id="search-query" class="search-query" name="q" placeholder="Search" autocomplete="off">
</form>
</div>
<section id="search-results">
<div class="entries">
</div>
</section>
<script id="search-results-template" type="text/mustache">
{% raw %}
{{#entries}}
<article>
<h4>
{{#date}}<small><time datetime="{{pubdate}}" pubdate>{{displaydate}}</time></small>{{/date}}
<a href="{{url}}">{{title}}</a>
</h4>
</article>
{{/entries}}
{% endraw %}
</script>
<br/>
<br/>
<p> Alternatively, consider using this Google-based search query instead: </p>
<br/>
<form class="navbar-search pull-right" method="get" action="http://google.com/search">
<p>
<input type="hidden" name="q" value="site:carlboettiger.info" />
<input type="text" class="search-query" name="q" />
<button class="btn btn-mini" type="submit"><i class="icon-search"></i></button>
</p>
</form>