Nothing Returned by Tapirgo Search
wnghn opened this issue · comments
The fabric theme looks really clean and nice, but I have problem configuring Tapirgo search. No matter what I search for, nothing is returned. Would anybody see what is missing here?
What I've done is basically
- request for the tokens from Tapirgo, providing my global `atom.xml' url and email
- add the following line to
source/_config.yml
:
tapir_token: xxxxxx
where xxxxxx is the public token from Tapirgo.
Seems tapirgo is currently returning a 500 internal server error for search api request, I suggest use google search instead.
Find this file .themes/fabric/source/_includes/custom/navigation.html
Replace
<form method="get" action="{{ root_url }}/search.html" id="search">
<input name="query" type="text" style="margin-top:20px;" size="40" placeholder="Search..." x-webkit-speech />
</form>
With
<form method="get" action="{{ site.simple_search }}" id="search">
<input name="query" type="text" placeholder="Search..." x-webkit-speech />
<input type="hidden" name="q" value="site:{{ site.url | shorthand_url }}">
</form>