mirror of
https://github.com/minoplhy/crappy-reverie.git
synced 2024-11-15 05:47:02 +00:00
21 lines
745 B
Markdown
21 lines
745 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 }}/assets/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> |