forked from zutrinken/attila
-
Notifications
You must be signed in to change notification settings - Fork 1
/
search.hbs
47 lines (38 loc) · 1.26 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{{> header}}
<header id="blog-header"{{#if cover}} class="has-cover"{{else}}{{#if @settings.cover}} class="has-cover"{{/if}}{{/if}}>
<div class="inner">
<nav id="navigation">
{{#if @settings.logo}}
<span class="blog-logo">
<a href="{{url}}"><img src="{{url @settings.logo}}" alt="Blog Logo" /></a>
</span>
{{else}}
<span id="home-button" class="nav-button">
<a class="home-button" href="{{url}}" title="Home"><i class="ic ic-arrow-left"></i> Home</a>
</span>
{{/if}}
{{#if @settings.navigation}}
<span id="menu-button" class="nav-button">
<a class="menu-button"><i class="ic ic-menu"></i> Menu</a>
</span>
{{/if}}
</nav>
<h1 class="post-title">Results for “{{query}}”</h1>
<span class="post-meta">
{{plural (number pagination.total_items) none="No posts found" singular="1 post found" plural="% posts found"}}
</span>
{{#if cover}}
<div class="blog-cover cover" style="background-image: url('{{url cover}}');"></div>
{{else}}
{{#if @settings.cover}}
<div class="blog-cover cover" style="background-image: url('{{url @settings.cover}}');"></div>
{{/if}}
{{/if}}
</div>
</header>
<div id="index" class="container">
<main class="content" role="main">
{{> loop}}
</main>
</div>
{{> footer}}