2024-06-13 20:56:03 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2024-07-05 21:46:25 +00:00
|
|
|
<title>SkunkyArt | Search "{{.QueryRaw}}"</title>
|
2024-07-13 18:32:04 +00:00
|
|
|
<link rel="stylesheet" href="{{.BasePath}}stylesheet">
|
2024-06-13 20:56:03 +00:00
|
|
|
</head>
|
|
|
|
<main>
|
|
|
|
<header>
|
2024-07-05 21:46:25 +00:00
|
|
|
<h1><a href="{{.BasePath}}">HOME</a> | <a href="{{.BasePath}}dd">DD</a></h1>
|
2024-06-13 20:56:03 +00:00
|
|
|
<form method="get" action="search">
|
|
|
|
<input type="text" name="q" placeholder="Search for ..." autocomplete="off" autocapitalize="none" spellcheck="false">
|
|
|
|
<select name="type">
|
|
|
|
<option value="all">All</option>
|
|
|
|
<option value="tag">Tag</option>
|
2024-07-09 09:54:15 +00:00
|
|
|
<option value="r">Groups</option>
|
2024-06-13 20:56:03 +00:00
|
|
|
</select>
|
|
|
|
<button type="submit">Search!</button>
|
|
|
|
</form>
|
|
|
|
</header>
|
2024-06-30 11:40:27 +00:00
|
|
|
{{if ne .Templates.Search.List ""}}
|
|
|
|
{{if ne .Templates.Search.Content.Total 0}}
|
2024-07-06 17:06:04 +00:00
|
|
|
<h1>Results by request '{{.QueryRaw}}': {{.Templates.Search.Content.Total}}</h1>
|
2024-06-13 20:56:03 +00:00
|
|
|
{{end}}
|
2024-06-30 11:40:27 +00:00
|
|
|
{{.Templates.Search.List}}
|
2024-06-13 20:56:03 +00:00
|
|
|
{{else}}
|
|
|
|
<p>No results :(</p>
|
|
|
|
{{end}}
|
|
|
|
</main>
|
|
|
|
</html>
|