-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsearch.html
43 lines (40 loc) · 855 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
35
36
37
38
39
40
41
42
43
---
title: Search
description: "Search this site"
layout: post
permalink: /search/
tipue_search_active: true
exclude_from_search: true
hidden:
- header
- navigator
- related_posts
- comments
---
<form action="{{ post.url | relative_url }}">
<div class="tipue_search_left">
<img src="{{ "/assets/tipuesearch/search.png" | relative_url }}"
class="tipue_search_icon">
</div>
<div class="tipue_search_right">
<input
type="text"
name="q"
id="tipue_search_input"
pattern=".{3,}"
title="At least 3 characters"
required
/>
</div>
<div style="clear: both"></div>
</form>
<div id="tipue_search_content"></div>
<script>
$(document).ready(function () {
$("#tipue_search_input").tipuesearch({
wholeWords: false,
showTime: false,
minimumLength: 1,
});
});
</script>