-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage-search.hbs
25 lines (21 loc) · 916 Bytes
/
page-search.hbs
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
{{!< default}}
{{! This is a page template. A page outputs content just like any other post, and has all the same
attributes by default, but you can also customise it to behave differently if you prefer. }}
{{! Everything inside the #post tags pulls data from the page }}
{{#post}}
{{#if feature_image}}
<header class="big cover" style="background-image: url({{img_url feature_image}})">
{{else}}
<header class="big cover" style="background-image: url({{img_url @blog.cover_image}})">
{{/if}}
<h1 class="post-title" style="text-align:center">{{title}}</h1>
</header>
<div id="wrapper">
<section class="article {{post_class}}">
<form class="search-box">
<i class="fa fa-search search-icon" aria-hidden="true"></i>
<input type="search" autocomplete="off" autofocus="on" id="search-field" placeholder="..." />
</form>
<div id="search-results"></div>
</section>
{{/post}}