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

10 lines
387 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>
<label>{{ T "search.title" }}</label>
<input name="keyword" required placeholder="{{ T `search.placeholder` }}" />
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>