aboutsummaryrefslogtreecommitdiff
path: root/search.html
blob: 026a20c5af55554b3553a26788c454c55127a1a7 (plain)
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
---
title: Search for posts
layout: default
id: search
toc: false
---

<form class="searchBar" method="get" action="{{ site.nojs-search }}">
	<input type="text" class="input" id="searchInput" name="q" placeholder="Search for posts..." spellcheck="false" autocomplete="off">
	<input type="hidden" name="q" value="site:{{ site.domain }}">
	<button class="button">
		<div class="icon">{% include icon/search-round.svg %}</div>
	</button>
</form>

<div class="searchResults">
	{% for post in site.items %}
	<div class="post">
		<a href="{{ post.url }}" class="nolink block">
			<b class="title">{{ post.title }}</b>
			<p class="subtitle">{{ post.subtitle }}</p>
			<p class="authordate">???</p>
			<input class="keywords" type="hidden" value=""/>
		</a>
		{% include tags.html tags=post.tags %}
	</div>
	{% endfor %}
</div>