Hugo-theme-stack/layouts/partials/widget/search.html

10 lines
385 B
HTML
Raw Normal View History

2020-09-26 05:40:52 -04:00
<form action="/search" class="search-form widget" {{ with .OutputFormats.Get "json" -}}data-json="{{ .Permalink }}" {{- end }}>
<p>
2020-11-06 05:49:30 -05:00
<label>{{ T "searchTitle" }}</label>
<input name="keyword" required placeholder="{{ T `searchPlaceholder` }}" />
2020-09-26 05:40:52 -04:00
<button title="Search">
{{ partial "helper/icon" "search" }}
2020-09-26 05:40:52 -04:00
</button>
</p>
</form>