Skip to content

Commit

Permalink
Remove broken lunr_js_search.
Browse files Browse the repository at this point in the history
  • Loading branch information
pvalena committed Apr 12, 2021
1 parent cdf4a80 commit 0889a38
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 266 deletions.
1 change: 0 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ markdown: kramdown

# Dependencies
plugins:
- jekyll-lunr-js-search
- jekyll-sitemap
- jekyll-email-protect
- jekyll-git-authors
Expand Down
14 changes: 0 additions & 14 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,6 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,300">
<link rel="stylesheet" href="/static/css/bootstrap.min.css">

<!-- Site search -->
<script src="/js/search.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
$(function() {
$('#search-query').lunrSearch({
indexUrl: '/js/index.json', // Url for the .json file containing search index data
results : '#search-results', // selector for containing search results element
entries : '.entries', // selector for search entries containing element (contained within results above)
titleMsg : '', // message attached in front of results (can be empty)
template: '#search-results-template' // selector for Mustache.js template
});
});
</script>

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
Expand Down
2 changes: 1 addition & 1 deletion _includes/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</style>
{% raw %}
<script id="search-results-template" type="text/mustache">
<h1>Search results</h1>
<h1>Search is temporarily disabled</h1>
{{#entries}}
<article>
<h3>
Expand Down
2 changes: 1 addition & 1 deletion _includes/top-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h1>
<div class="col-sm-7" id="menu-col">
{% include nav.html %}
</div>
<div class="col-sm-3" id="search-col">
<div class="col-sm-3" id="search-col" style="display: none;">
{% include search.html %}
</div>
</div>
249 changes: 0 additions & 249 deletions _plugins/jekyll_lunr_js_search.rb

This file was deleted.

0 comments on commit 0889a38

Please sign in to comment.