Google broke old site-search method, this fixes it

This commit is contained in:
Brandon Mathis 2014-12-20 22:50:20 -06:00
parent 3345fa5897
commit 514ed5eb9f

View File

@ -7,7 +7,7 @@
{% if site.simple_search %}
<form action="{{ site.simple_search }}" method="get">
<fieldset role="search">
<input type="hidden" name="q" value="site:{{ site.url | shorthand_url }}" />
<input type="hidden" name="sitesearch" value="{{ site.url | shorthand_url }}">
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
</fieldset>
</form>