<!DOCTYPE html>
<html lang="{{ .Language }}">

	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>{{ .Translate "Homepage" }}</title>
		<link rel="stylesheet" type="text/css" href="style.css" />
	</head>

	<body>
		<main>
			<section id="search">
				<form method="post" action="/search">
					<input type="search" id="query" placeholder='{{ .Translate "Search" }}' name="query" autofocus><label title="search" for="submit"><span class="material-icons">search</span></label>
					<input id="submit" type="submit" title="search">
				</form>
			</section>

			<section id="bookmark-container">
				{{ range .Bookmarks }}
					{{ template "bookmark.html" . }}
				{{ end }}
			</section>
		</main>
	</body>

</html>