Skip to content

Commit

Permalink
Fix MIME-type issues with Lunr search
Browse files Browse the repository at this point in the history
Close #82
  • Loading branch information
mmistakes committed Aug 7, 2019
1 parent 8b9af8e commit e596359
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

### Fixed
- Fix MIME-type issues with Lunr search by renaming `search-data.json` to `lunr/lunr.store.js`. [#82](https://github.com/mmistakes/jekyll-theme-basically-basic/issues/82)

## [1.4.2] - 2019-07-18

### Added
Expand Down
2 changes: 1 addition & 1 deletion _includes/search/lunr-search-scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
{%- endcase -%}
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="{{ '/assets/javascripts/lunr/lunr.min.js' | absolute_url }}"></script>
<script src="{{ '/assets/javascripts/search-data.json' | absolute_url }}"></script>
<script src="{{ '/assets/javascripts/lunr/lunr.store.js' | absolute_url }}"></script>
{%- unless lang == "en" -%}
<script src="{{ '/assets/javascripts/lunr/lunr.stemmer.support.min.js' | absolute_url }}"></script>
<script src="{{ '/assets/javascripts/lunr/lunr.' | append: lang | append: '.min.js' | absolute_url }}"></script>
Expand Down
File renamed without changes.

0 comments on commit e596359

Please # to comment.