Skip to content

Commit

Permalink
Update search.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyjurg authored Jul 12, 2024
1 parent 7bda53e commit ffb3448
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions docs/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,7 @@ layout: default
title: Search
---

<div id="search-container">
<h1>{{ page.title }}</h1>
<input type="text" id="search-input" placeholder="Search...">
<ul id="results-container"></ul>
</div>

<script src="https://unpkg.com/simple-jekyll-search@latest/dest/simple-jekyll-search.min.js"></script>
<script>
SimpleJekyllSearch({
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('results-container'),
json: '/search.json',
searchResultTemplate: '<li><a href="{url}">{title}</a></li>',
noResultsText: 'No results found',
})
<script async src="https://cse.google.com/cse.js?cx=319b7977f4517419f">
</script>
<div class="gcse-search"></div>

0 comments on commit ffb3448

Please sign in to comment.