trwnh.com/unified.test.hugo/layouts/partials/search/search-form.html

6 lines
355 B
HTML
Raw Normal View History

2024-10-05 19:56:14 +00:00
<form id="search-form" action='{{ with .GetPage (printf "%s%s" .CurrentSection.RelPermalink "search") }}{{.Permalink}}{{end}}' method="get">
2024-10-05 06:27:07 +00:00
<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>