From e5963592b248cf8831356fd0a6798c791aef1dcc Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 7 Aug 2019 15:58:09 -0400 Subject: [PATCH] Fix MIME-type issues with Lunr search Close #82 --- CHANGELOG.md | 5 +++++ _includes/search/lunr-search-scripts.html | 2 +- assets/javascripts/{search-data.json => lunr/lunr.store.js} | 0 3 files changed, 6 insertions(+), 1 deletion(-) rename assets/javascripts/{search-data.json => lunr/lunr.store.js} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index dfd2a7e..2c1cca7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/_includes/search/lunr-search-scripts.html b/_includes/search/lunr-search-scripts.html index 7314f9b..b011004 100644 --- a/_includes/search/lunr-search-scripts.html +++ b/_includes/search/lunr-search-scripts.html @@ -37,7 +37,7 @@ {%- endcase -%} - + {%- unless lang == "en" -%} diff --git a/assets/javascripts/search-data.json b/assets/javascripts/lunr/lunr.store.js similarity index 100% rename from assets/javascripts/search-data.json rename to assets/javascripts/lunr/lunr.store.js