Website/themes/mainroad/layouts/partials/widgets/search.html

11 lines
474 B
HTML
Raw Permalink Normal View History

2018-07-11 20:45:17 +02:00
{{- 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 }}