trwnh.com/blog.hugo/layouts/partials/search/search-form.html
2024-09-29 20:32:51 -05:00

5 lines
311 B
HTML

<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>