mirror of
https://git.macaw.me/skunky/SkunkyArt.git
synced 2025-04-03 04:57:36 +03:00
14 lines
No EOL
606 B
HTML
14 lines
No EOL
606 B
HTML
{{define "header"}}
|
|
<header>
|
|
<h1><a href="">HOME</a> | <a href="dd">DD</a> {{if eq .Endpoint "dd"}}| <a href="{{.Endpoint}}?atom=true">RSS</a>{{end}}</h1>
|
|
<form method="get" action="search">
|
|
<input type="text" name="q" placeholder="Search for ..." autocomplete="off" autocapitalize="none" spellcheck="false" value="{{.QueryRaw}}">
|
|
<select name="type">
|
|
<option value="all">All</option>
|
|
<option value="tag">Tag</option>
|
|
<option value="r">Groups</option>
|
|
</select>
|
|
<button type="submit">Search!</button>
|
|
</form>
|
|
</header>
|
|
{{end}} |