Adding Google Search
So I wanted to add Google search for my site, thus reducing the need to implement search. I found a great article on askdavetayler.com and ended up implementing my search form using:
<form class="navbar-search pull-right" method="get" action="http://www.google.com/search"> <input type="text" class="search-query" placeholder="Search" name="q" maxlength="255"> <input type="hidden" name="sitesearch" value="sasbury.com" /> </form>
which combines the Twitter Bootstrap search form example, and Dave's help. I thought this was worth mentioning both to help other people find Dave's article and because I used a hidden field which is a bit different than his example.
Update: this was later removed, it didn't stay up to date enough, i need a new solution at some point.
- Stephen (2013-1-18)