Skip to content
The Stunningly Fast Jekyll Search Library
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
.gitignore
README.md
bower.json
posts.json

README.md

light-Jekyll-search

The Stunningly Fast Jekyll Search Library

Usage

Use it as an example code below.

<!DOCTYPE html>
<html lang="ko">
  <body>
  <form name="search" id="search-form">
      <div>
          <i class="icon-search"></i>
          <input type="text" name="q" autocomplete="off" />
      </div>
  </form>
  <script type="text/javascript" src="scripts/light-jekyll-search.js"></script>
  <script type="text/javascript">
      lightJekyllSearch.search({
          el : document.querySelector('form[name="search"] input[name="q"]'),
          placeholder : '검색어를 입력해주세요.',
          postJsonPath : '/assets/json/posts.json'
      });
  </script>
  </body>
</html>
You can’t perform that action at this time.