Browse Source

Merge pull request #14 from di-dc/search-page-update

Updated search.html paths for search js and json
master
Clark Wimberly 3 years ago
committed by GitHub
parent
commit
e6453cdfb0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      search.html

4
search.html

@ -20,14 +20,14 @@ layout: default
<!-- Script pointing to search-script.js -->
<script src="/plugins/simple-jekyll-search.min.js" type="text/javascript"></script>
<script src="{{site.baseurl}}/plugins/simple-jekyll-search.min.js" type="text/javascript"></script>
<!-- Configuration -->
<script>
SimpleJekyllSearch({
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('results-container'),
json: '/search.json',
json: '{{site.baseurl}}/search.json',
searchResultTemplate: '<div class="sm-col sm-col-6 md-col-6 lg-col-4 xs-px1 xs-mb2 left-align"><a class="block relative bg-blue" href="{url}"><div class="image ratio bg-cover" style="background-image:url({{site.baseurl}}/images/{image});"></div><h1 class="title p2 m0 absolute bold white bottom-0 left-0">{title}</h1></a></div>'
})
</script>

Loading…
Cancel
Save