Skip to content

Commit 5ea6eba

Browse files
committed
Google broke old site-search method, this fixes it
1 parent 3345fa5 commit 5ea6eba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.themes/classic/source/_includes/navigation.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% if site.simple_search %}
88
<form action="{{ site.simple_search }}" method="get">
99
<fieldset role="search">
10-
<input type="hidden" name="q" value="site:{{ site.url | shorthand_url }}" />
10+
<input type="hidden" name="sitesearch" value="{{ site.url | strip_url_protocol }}">
1111
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
1212
</fieldset>
1313
</form>

0 commit comments

Comments
 (0)