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

10 lines
383 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>Search</label>
<input name="keyword" required placeholder="Type something..." />
<button title="Search">
{{ (resources.Get "icons/search.svg").Content | safeHTML }}
</button>
</p>
</form>