b1e598cb17
For issue #37
32 lines
759 B
HTML
32 lines
759 B
HTML
<div class="container">
|
|
<header>
|
|
<h1>Search</h1>
|
|
</header>
|
|
|
|
<article>
|
|
{{#hits?}}
|
|
<p>Search results for the query <b>{{query}}</b>:</p>
|
|
|
|
{{#prev}}<nav><ul class="dense"
|
|
><li><a rel="prev" href="{{.}}">Previous page</a></li
|
|
></ul></nav>{{/prev}}
|
|
|
|
<ul class="search-results default-keyboard-focus-control">
|
|
{{#hits}}
|
|
<li class="search-result"><a data-focusindex="{{.0}}" class="link" href="{{.1.link()}}"><p class="title">{{.1.title}}</p><p class="snippet">{{{.1.snippet}}}</p></a></li>
|
|
{{/hits}}
|
|
</ul>
|
|
{{/hits}}
|
|
|
|
{{#next}}<nav><ul class="dense"
|
|
><li><a rel="next" href="{{.}}">Next page</a></li
|
|
></ul></nav>{{/next}}
|
|
|
|
{{^hits?}}
|
|
<p>Your search for <b>{{query}}</b> gave no results.</p>
|
|
{{/hits}}
|
|
|
|
</article>
|
|
</div>
|
|
|
|
{{>footer/default.html}}
|