Sha256: d357044b6aad2ce38ef680225fb595fcd0373fc402dc980e6d2b7df5db58951e
Contents?: true
Size: 640 Bytes
Versions: 19
Compression:
Stored size: 640 Bytes
Contents
<form action="https://google.com/search" class="search-form"> <div class="search-row"> <input id="search-bar" type="search" name="q" /> {% comment %} Hacky strip of protocol to the sitesearch value we pass to Google {% endcomment %} {% assign url = site.url | replace_first: 'https://', '' %} {% assign url = url | replace_first: 'http://', '' %} {% assign url = url | replace_first: 'spdy://', '' %} {% assign url = url | replace_first: '//', '' %} <input name="sitesearch" type="hidden" value="{{ url }}{{ site.baseurl }}" /> <input type="submit" value="Search" /> </div> </form>
Version data entries
19 entries across 19 versions & 1 rubygems