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

Version Path
jekyll-theme-hydeout-4.2.0 _includes/search-form.html
jekyll-theme-hydeout-4.1.0 _includes/search-form.html
jekyll-theme-hydeout-4.0.2 _includes/search-form.html
jekyll-theme-hydeout-4.0.1 _includes/search-form.html