Skip to content

Instantly share code, notes, and snippets.

@mwalters
Last active March 26, 2020 00:17
Show Gist options
  • Save mwalters/51ff76877fa737234761e7356d26f50f to your computer and use it in GitHub Desktop.
Save mwalters/51ff76877fa737234761e7356d26f50f to your computer and use it in GitHub Desktop.

Revisions

  1. mwalters revised this gist Mar 26, 2020. 1 changed file with 0 additions and 7 deletions.
    7 changes: 0 additions & 7 deletions searchpage.html
    Original file line number Diff line number Diff line change
    @@ -1,7 +0,0 @@
    <script src="/lunr.js"></script>
    <script src="/search.js"></script>

    <div>
    <input id="search-input" type="text" placeholder="What are you looking for?" name="search-input" class="form-control">
    </div>
    <div id="search-results" class="container"></div>
  2. mwalters revised this gist Mar 26, 2020. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions search.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,9 @@
    ```
    ---
    title: "Search"
    date: 1999-01-01
    layout: page
    exclude_search: true
    ---
    {{< searchpage >}}
    ```
  3. mwalters created this gist Mar 26, 2020.
    7 changes: 7 additions & 0 deletions search.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    ---
    title: "Search"
    date: 1999-01-01
    layout: page
    exclude_search: true
    ---
    {{< searchpage >}}
    7 changes: 7 additions & 0 deletions searchpage.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    <script src="/lunr.js"></script>
    <script src="/search.js"></script>

    <div>
    <input id="search-input" type="text" placeholder="What are you looking for?" name="search-input" class="form-control">
    </div>
    <div id="search-results" class="container"></div>