1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-25 18:22:09 +00:00
seirdy.one/layouts/partials/search.html

17 lines
791 B
HTML
Raw Normal View History

2022-06-10 03:47:21 +00:00
{{- $actionBase := "https:/seirdy.one/" -}}
{{- if (in site.BaseURL ".onion") -}}
{{- $actionBase = site.BaseURL -}}
{{- end -}}
<form
itemprop="potentialAction" itemscope="" itemtype="https://schema.org/SearchAction"
2022-06-10 03:47:21 +00:00
action="{{ $actionBase }}search/" method="get" role="search">
<label for="search" itemscope="" itemprop="target" itemtype="https://schema.org/EntryPoint">
Search this site (powered by the <a rel="nofollow" href="https://searchmysite.net/">Search My Site</a> API):
<meta itemprop="urlTemplate" content="http://seirdy.one/search?q={q}" />
2022-06-08 06:36:05 +00:00
</label>
<div><!--We need the extra divs to serve as pseudo-table-cells.-->
<input itemprop="query-input" id="search" type="search" required="" name="q" />
<div><input type="submit" value="search" /></div>
</div>
</form>