snachodog.github.io/_pages/search.md

21 lines
741 B
Markdown
Raw Normal View History

---
layout: page
title: Search
permalink: /search/
---
<div id="search-container">
<input type="text" id="search-input" placeholder="Search through the blog posts...">
<ul id="results-container"></ul>
</div>
<script src="{{ site.baseurl }}/js/simple-jekyll-search.min.js" type="text/javascript"></script>
<script>
SimpleJekyllSearch({
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('results-container'),
searchResultTemplate: '<div style="text-align: left !important;"><a href="{url}"><h1 style="text-align:left !important;">{title}</h1></a><span style="text-align:left !important;">{date}</span></div>',
json: '{{ site.baseurl }}/search.json'
});
</script>