yulijia / freshman21

Welcome to use Jekyll theme Freshman21.
http://yulijia.net/freshman21/
MIT License
133 stars 90 forks source link

Google search didn't work properly. #13

Closed dbarobin closed 9 years ago

dbarobin commented 9 years ago

Thanks for adding Google search feature. I've tried to add full-text search feature via jekyll-lunr-js-search, but failed. Jekyll by GitHub don't support this plugin.

I add Goole search by myself according to your code. But it didn't work properly. I add hidden form parameter which is called site, yet I input search content, the results that provided by Google did't display the content of my own website. That is to say, the hidden form parameter site did't accept by Google search url.

I'm looking forward to fix this bug. Thanks.

Robin

yulijia commented 9 years ago

Hi, thanks for the bug report. I have tested the search box when upload the new features to the website, It used to work well. Due to Google search engine update at last week, the simple search box with non-JavaScript does not work any more.

To fix the bug, I have to include a new JS file. You can find more detail at here