Sha256: db7e04d5616f5bb7b79e1e4d60d2f9687dd385a1bb1a6d43cda1ddfff721a277

Contents?: true

Size: 1.16 KB

Versions: 4

Compression:

Stored size: 1.16 KB

Contents

---
layout: page
---
<div style="padding-bottom: 3rem;">
  <form class="form-inline" action="/search.html" method="get">
                    <div class="top_search_con">
                      <input class="form-control mr-sm-2" placeholder="busca aquĆ­ ..." type="text" style="color:var(--color-1);" id="search-box" name="query">
                    </div>
                  </form>
  <form action="/search.html" method="get">
    <label for="search-box">Search</label>
    <input type="text" id="search-box" name="query">
    <input type="submit" value="search">
  </form>
</div>

<ul id="search-results"></ul>

<script>
  window.store = {
    {% for book in site.books %}
      "{{ book.url | slugify }}": {
        "title": "{{ book.title | xml_escape }}",
        "descarga": "{{ book.descarga | xml_escape }}",
        "author": "{{ book.author | xml_escape }}",
        "content": {{ book.content | strip_html | strip_newlines | jsonify }},
        "url": "{{ book.url | xml_escape }}"
      }
      {% unless forloop.last %},{% endunless %}
    {% endfor %}
  };
</script>
<script src="{{ BASE_PATH }}/js/lunr.min.js"></script>
<script src="{{ BASE_PATH }}/js/search.js"></script>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
morel-theme-0.1.31 assets/js/search.html
morel-theme-0.1.3 assets/js/search.html
morel-theme-0.1.2 assets/js/search.html
morel-theme-0.1.1 assets/js/search.html