mirror of
https://github.com/minoplhy/crappy-reverie.git
synced 2024-12-23 05:27:57 +00:00
21 lines
741 B
Markdown
21 lines
741 B
Markdown
---
|
|
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> |