Sha256: 3cc9dc8834933e01f3ad7207109792b846922bf90153c7ef9d5f0dd610c33116

Contents?: true

Size: 823 Bytes

Versions: 2

Compression:

Stored size: 823 Bytes

Contents

---
layout: default
---

<h2>Search</h2>

<div class="search-input">
  {% include icons/icon.html icon-name='search' %}
  <input type="text" id="search-input" placeholder="search...">
</div>
<div class="search-box">
  <ul id="results-container"></ul>
</div>

{% include search-js.min.html %}

<script>
  SimpleJekyllSearch({
    searchInput: document.getElementById('search-input'),
    resultsContainer: document.getElementById('results-container'),
    json: '{{ site.baseurl }}/search.json',
    searchResultTemplate: '<li class="icon"><svg xmlns="http://www.w3.org/2000/svg" width="10" height="16" viewBox="0 0 10 16"><path d="M10 8L4 3v3H0v4h4v3z"/></svg><a href="{url}" title="{title}">{title}</a></li>',
    noResultsText: 'No results found',
    limit: 10,
    fuzzy: false,
    exclude: ['Welcome']
  })
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
writers-zone-0.1.4 _layouts/search.html
writers-zone-0.1.3 _layouts/search.html