hugo-theme-paradox/layouts/partials/search/search-form.html

6 lines
311 B
HTML
Raw Permalink Normal View History

2022-10-16 22:15:34 +00:00
<form id="search-form" action='{{ with .GetPage "/search" }}{{.Permalink}}{{end}}' method="get">
<label hidden for="search-input">Search site</label>
<input id="search-input" type="text" name="query" placeholder="Type here to search">
<input id="search-submit" type="submit" value="search">
</form>