11 lines
474 B
HTML
11 lines
474 B
HTML
|
{{- if .Site.Params.widgets.search }}
|
||
|
<div class="widget-search widget">
|
||
|
<form class="widget-search__form" role="search" method="get" action="https://google.com/search">
|
||
|
<label>
|
||
|
<input class="widget-search__field" type="search" placeholder="{{ T "search_placeholder" }}" value="" name="q">
|
||
|
</label>
|
||
|
<input class="widget-search__submit" type="submit" value="Search">
|
||
|
<input type="hidden" name="sitesearch" value="{{ .Site.BaseURL }}" />
|
||
|
</form>
|
||
|
</div>
|
||
|
{{- end }}
|