34 lines
984 B
HTML
34 lines
984 B
HTML
<!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">
|
|
<datalist id="bookmarks">
|
|
{{ range .Bookmarks }}
|
|
<option value="{{ .SmallLink }}">
|
|
{{ end }}
|
|
</datalist>
|
|
<input type="search" id="query" list="bookmarks" 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> |