Skip to content

Commit

Permalink
Google broke old site-search method, this fixes it
Browse files Browse the repository at this point in the history
  • Loading branch information
imathis committed Dec 21, 2014
1 parent 3345fa5 commit 5ea6eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .themes/classic/source/_includes/navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 | strip_url_protocol }}">
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
</fieldset>
</form>
Expand Down

0 comments on commit 5ea6eba

Please sign in to comment.