Sha256: c1715010911909c07f4bd11ec7df751cad4d981a541bfb924a5479cd246e2b9a
Contents?: true
Size: 646 Bytes
Versions: 4
Compression:
Stored size: 646 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 }}{{ "/" | relative_url }}" /> <input type="submit" value="Search" /> </div> </form>
Version data entries
4 entries across 4 versions & 1 rubygems